#E7D24A#E7D24A

#E7D24A is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.7% C 0.153 H 100.4°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#E7D24A
RGBrgb(231, 210, 74)
HSLhsl(52, 77%, 60%)
HSVhsv(52, 68%, 91%)
CMYKcmyk(0%, 9.1%, 68%, 9.4%)
CIE-LABlab(83.75, -7.70, 67.02)
CIE-LCHlch(83.75, 67.47, 96.56°)
OKLaboklab(85.73% -0.0275 0.1501)
OKLCHoklch(85.73% 0.153 100.4)
XYZxyz(57.2402, 63.5791, 15.7342)
Luminance0.6358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D24A #4A5FE7
analogous
#E7844A #E7D24A #ADE74A
triadic
#E7D24A #4AE7D2 #D24AE7
tetradic
#E7D24A #4AE784 #4A5FE7 #E74AAD
square
#E7D24A #4AE784 #4A5FE7 #E74AAD
split-complementary
#E7D24A #4AADE7 #844AE7
monochromatic
#A18F15 #D7BE1D #E7D24A #EEDF80 #F5EDB6

Accessibility & contrast

On white

1.53
#E7D24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#E7D24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D24A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D24A#FFFFFF#000000##000000
##E7D24A1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC37
Deuteranopia (green-blind)
#EBD452
Tritanopia (blue-blind)
#F8C3B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d24a;
/* rgb */ color: rgb(231, 210, 74);
/* oklch */ color: oklch(85.7% 0.153 100.4);
Tailwind
colors: {
  custom: {
    50: '#f2df84',
    500: '#e7d24a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d24a;
$custom-light: #f2df84;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d24a",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 74
  },
  "hsl": {
    "h": 51.975,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.15258,
    "h": 100.4
  },
  "luminance": 0.63577
}

Semantic roles & 50–950 ramp

primary
#E7D24A
secondary
#3141A4
accent
#4EF335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7D24A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E7D24A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva