#E8D74B#E8D74B

#E8D74B is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.156 H 102.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E8D74B
RGBrgb(232, 215, 75)
HSLhsl(54, 77%, 60%)
HSVhsv(54, 68%, 91%)
CMYKcmyk(0%, 7.3%, 67.7%, 9%)
CIE-LABlab(85.13, -9.75, 68.07)
CIE-LCHlch(85.13, 68.77, 98.15°)
OKLaboklab(86.85% -0.0333 0.1524)
OKLCHoklch(86.85% 0.156 102.3)
XYZxyz(58.8516, 66.2671, 16.3461)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D74B #4B5CE8
analogous
#E8884B #E8D74B #ABE84B
triadic
#E8D74B #4BE8D7 #D74BE8
tetradic
#E8D74B #4BE888 #4B5CE8 #E84BAB
square
#E8D74B #4BE888 #4B5CE8 #E84BAB
split-complementary
#E8D74B #4BABE8 #884BE8
monochromatic
#A49415 #DAC51C #E8D74B #EFE381 #F6EFB8

Accessibility & contrast

On white

1.47
#E8D74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E8D74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D74B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D74B#FFFFFF#000000##000000
##E8D74B1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD037
Deuteranopia (green-blind)
#EFD854
Tritanopia (blue-blind)
#F9C8BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d74b;
/* rgb */ color: rgb(232, 215, 75);
/* oklch */ color: oklch(86.9% 0.156 102.3);
Tailwind
colors: {
  custom: {
    50: '#f3e385',
    500: '#e8d74b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d74b;
$custom-light: #f3e385;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d74b",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 53.503,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8685,
    "c": 0.15602,
    "h": 102.3
  },
  "luminance": 0.66265
}

Semantic roles & 50–950 ramp

primary
#E8D74B
secondary
#313EA6
accent
#22DA0C
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E8D74B

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

Preview Lab → · Contrast checker → · Palette generator →

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