#E7D24F#E7D24F

#E7D24F is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.149 H 100.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#E7D24F
RGBrgb(231, 210, 79)
HSLhsl(52, 76%, 61%)
HSVhsv(52, 66%, 91%)
CMYKcmyk(0%, 9.1%, 65.8%, 9.4%)
CIE-LABlab(83.78, -7.43, 65.07)
CIE-LCHlch(83.78, 65.50, 96.51°)
OKLaboklab(85.77% -0.0262 0.1468)
OKLCHoklch(85.77% 0.149 100.1)
XYZxyz(57.4154, 63.6492, 16.6568)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D24F #4F64E7
analogous
#E7864F #E7D24F #B0E74F
triadic
#E7D24F #4FE7D2 #D24FE7
tetradic
#E7D24F #4FE786 #4F64E7 #E74FB0
square
#E7D24F #4FE786 #4F64E7 #E74FB0
split-complementary
#E7D24F #4FB0E7 #864FE7
monochromatic
#A59117 #DBC11E #E7D24F #EEE085 #F6EEBB

Accessibility & contrast

On white

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

On black

13.73
#E7D24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D24F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D24F#FFFFFF#000000##000000
##E7D24F1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3E
Deuteranopia (green-blind)
#EBD456
Tritanopia (blue-blind)
#F8C3B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d24f;
/* rgb */ color: rgb(231, 210, 79);
/* oklch */ color: oklch(85.8% 0.149 100.1);
Tailwind
colors: {
  custom: {
    50: '#f2df87',
    500: '#e7d24f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d24f;
$custom-light: #f2df87;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d24f",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 51.711,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85767,
    "c": 0.14908,
    "h": 100.1
  },
  "luminance": 0.63647
}

Semantic roles & 50–950 ramp

primary
#E7D24F
secondary
#3343A7
accent
#29D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D24F

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

Preview Lab → · Contrast checker → · Palette generator →

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