#E4D74B#E4D74B

#E4D74B is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.156 H 104.0°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#E4D74B
RGBrgb(228, 215, 75)
HSLhsl(55, 74%, 59%)
HSVhsv(55, 67%, 89%)
CMYKcmyk(0%, 5.7%, 67.1%, 10.6%)
CIE-LABlab(84.79, -11.42, 67.62)
CIE-LCHlch(84.79, 68.58, 99.58°)
OKLaboklab(86.5% -0.0377 0.1516)
OKLCHoklch(86.5% 0.156 104)
XYZxyz(57.5677, 65.6051, 16.2859)
Luminance0.6560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D74B #4B58E4
analogous
#E48B4B #E4D74B #A5E44B
triadic
#E4D74B #4BE4D7 #D74BE4
tetradic
#E4D74B #4BE48B #4B58E4 #E44BA5
square
#E4D74B #4BE48B #4B58E4 #E44BA5
split-complementary
#E4D74B #4BA5E4 #8B4BE4
monochromatic
#9D9218 #D2C320 #E4D74B #ECE380 #F4EFB5

Accessibility & contrast

On white

1.49
#E4D74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#E4D74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D74B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D74B#FFFFFF#000000##000000
##E4D74B1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD037
Deuteranopia (green-blind)
#EED754
Tritanopia (blue-blind)
#F5C9BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d74b;
/* rgb */ color: rgb(228, 215, 75);
/* oklch */ color: oklch(86.5% 0.156 104.0);
Tailwind
colors: {
  custom: {
    50: '#f0e385',
    500: '#e4d74b',
    950: '#000000',
  },
}
SCSS
$custom: #e4d74b;
$custom-light: #f0e385;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d74b",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 54.902,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.865,
    "c": 0.15623,
    "h": 104
  },
  "luminance": 0.65603
}

Semantic roles & 50–950 ramp

primary
#E4D74B
secondary
#333CA0
accent
#47F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4D74B

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

Preview Lab → · Contrast checker → · Palette generator →

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