#E7D24B#E7D24B

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

Color values

HEX#E7D24B
RGBrgb(231, 210, 75)
HSLhsl(52, 76%, 60%)
HSVhsv(52, 68%, 91%)
CMYKcmyk(0%, 9.1%, 67.5%, 9.4%)
CIE-LABlab(83.75, -7.65, 66.64)
CIE-LCHlch(83.75, 67.08, 96.55°)
OKLaboklab(85.73% -0.0272 0.1494)
OKLCHoklch(85.73% 0.152 100.3)
XYZxyz(57.2741, 63.5927, 15.9130)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D24B #4B60E7
analogous
#E7844B #E7D24B #AEE74B
triadic
#E7D24B #4BE7D2 #D24BE7
tetradic
#E7D24B #4BE784 #4B60E7 #E74BAE
square
#E7D24B #4BE784 #4B60E7 #E74BAE
split-complementary
#E7D24B #4BAEE7 #844BE7
monochromatic
#A28F16 #D8BF1D #E7D24B #EEE081 #F5EDB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7D24B#FFFFFF#000000##000000
##E7D24B1.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)
#E5CC38
Deuteranopia (green-blind)
#EBD453
Tritanopia (blue-blind)
#F8C3B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d24b;
/* rgb */ color: rgb(231, 210, 75);
/* oklch */ color: oklch(85.7% 0.152 100.3);
Tailwind
colors: {
  custom: {
    50: '#f2df84',
    500: '#e7d24b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d24b;
$custom-light: #f2df84;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d24b",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 75
  },
  "hsl": {
    "h": 51.923,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.85734,
    "c": 0.1519,
    "h": 100.3
  },
  "luminance": 0.6359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D24B

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

Preview Lab → · Contrast checker → · Palette generator →

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