RAL Classic color

RAL 1024 Ochre yellow #AEA04B

RAL 1024 Ochre yellow is shown here as #AEA04B, a widely published sRGB approximation of the printed swatch. It is a light soft yellow in the yellow family. In OKLCH it sits at lightness 0.700, chroma 0.107 and hue 100.1°. The nearest CSS named color is darkkhaki (#BDB76B), ΔE2000 7.0 away.

Relative luminance
0.3465
OKLCH L · C · h
0.700 · 0.107 · 100.1
Best text
Black 7.92:1
Hue family
Yellow

#AEA04B color codes

HEX
#AEA04B
RGB
rgb(174, 160, 75)
HSL
hsl(52, 40%, 49%)
OKLCH
oklch(0.700 0.107 100.1)
OKLab
oklab(0.700 -0.019 0.106)
CIELAB (D65)
L* 65.47, a* -5.91, b* 45.40
XYZ (D65)
X 31.30, Y 34.65, Z 11.69
CMYK (naive)
cmyk(0%, 8%, 57%, 32%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #AEA04B accessible?

Black text on it reaches 7.92:1, passing AAA. White text fails at 2.64:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    7.92:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +52
  • White text on it

    2.64:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −56
  • As text on black

    7.92:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −50
  • As text on white

    2.64:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +51

Nearest versions that pass 4.5:1

  • For text on white

    #85771C 4.51:1

    Darkening its OKLCH lightness from 0.70 to 0.57 reaches 4.51:1 on white, keeping the hue.

  • For text on black

    #AEA04B 7.92:1

    It already reaches 7.92:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #AEA04B live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #AEA04B

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #AEA04B sits at step 400.

  1. 50#FFF7C4
    White
    1.08
    Black
    19.35
  2. 100#F9EDA8
    White
    1.18
    Black
    17.70
  3. 200#E6DA90
    White
    1.41
    Black
    14.79
  4. 300#CDC071
    White
    1.84
    Black
    11.37
  5. 400This color#AEA04B
    White
    2.64
    Black
    7.92
  6. 500#958730
    White
    3.62
    Black
    5.78
  7. 600#7D6F11
    White
    5.05
    Black
    4.15
  8. 700#655900
    White
    7.04
    Black
    2.98
  9. 800#494000
    White
    10.41
    Black
    2.01
  10. 900#302900
    White
    14.55
    Black
    1.44
  11. 950#1B1600
    White
    18.08
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #AEA04B can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.146; #AEA04B uses 74% of it. Display P3, which many recent phones and laptops show, reaches 0.169 there: 16% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.107
sRGB edge
0.146
Display P3 edge
0.169
Rec. 2020 edge
0.173
Dominant wavelength
573 nm
Excitation purity
58%
Chromaticity
x 0.4031, y 0.4463
  • This color#AEA04B
  • Most vivid in sRGB#B49F00
  • Most vivid in Display P3oklch(0.700 0.169 100.1)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #aea04b;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.7041 0.6264 0); }
}

Mixing

Mixing #AEA04B

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#D7D0A5
  • OKLab50%#D6CFA7
  • OKLCH50%#D6CFA7

Black #000000

  • sRGB50%#575026
  • OKLab50%#413B17
  • OKLCH50%#413B17

Its complement #9197E0

  • sRGB50%#A09C96
  • OKLab50%#9E9E9E
  • OKLCH50%#36B4AD
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #aea04b, white);
color: color-mix(in oklch, #aea04b 50%, white);

In use

#AEA04B in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:17.92:1 Passes
  • Link and body-size textText, 4.5:12.64:1 Fails
  • Large headingLarge text, 3:12.64:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.64:1 Fails

For text on this page, the nearest shade that passes is #85771C 4.51:1

Dark page

  • Button labelText, 4.5:17.92:1 Passes
  • Link and body-size textText, 4.5:17.07:1 Passes
  • Large headingLarge text, 3:17.07:1 Passes
  • Icons, borders and focus ringsNon-text, 3:17.07:1 Passes

Color vision

How #AEA04B looks with color blindness

Tritanopia changes it most, ΔE2000 24.6; deuteranopia changes it least, 0.9.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #AD9C43 ΔE2000 1.6

    Very close

    Reads as light soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #B1A14F ΔE2000 0.9

    Imperceptible

    Reads as light soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #BA968D ΔE2000 24.6

    Distinct

    Reads as light grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #9F9F9F ΔE2000 22.6

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #9197E0. Their lightness contrast is only 1.02:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#AEA04B · #9197E050.9Stays distinct
Protanopia#AD9C43 · #80A0E348.5Stays distinct
Deuteranopia#B1A14F · #7C9ADE48.0Stays distinct
Tritanopia#BA968D · #7BA5B133.8Stays distinct
Achromatopsia#9F9F9F · #9D9D9D0.6Easily confused

Harmony

Color harmonies for #AEA04B

Its complement is #9197E0, a light soft blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#AEA04B
  • Complement#9197E0

Complementary

Open in Harmony Studio
  • −30°#C9924F
  • Base#AEA04B
  • +30°#88AC63
  • Base#AEA04B
  • +120°#3FAECD
  • +240°#CB84B3
  • Base#AEA04B
  • +150°#69A3DF
  • +210°#B38BD1

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1024: #aea04b;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1024': '#aea04b',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1024: oklch(0.700 0.107 100.1);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1024": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6824, 0.6275, 0.2941],
        "hex": "#aea04b"
      },
      "$description": "RAL 1024 Ochre yellow (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1024 = Color(.sRGB, red: 0.682, green: 0.627, blue: 0.294, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1024 = Color(0xFFAEA04B)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #AEA04B in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.