#E4D05F#E4D05F

#E4D05F is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.2% C 0.135 H 99.4°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#E4D05F
RGBrgb(228, 208, 95)
HSLhsl(51, 71%, 63%)
HSVhsv(51, 58%, 89%)
CMYKcmyk(0%, 8.8%, 58.3%, 10.6%)
CIE-LABlab(83.14, -6.64, 57.45)
CIE-LCHlch(83.14, 57.83, 96.59°)
OKLaboklab(85.24% -0.0219 0.1329)
OKLCHoklch(85.24% 0.135 99.4)
XYZxyz(56.6185, 62.4343, 19.8929)
Luminance0.6243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D05F #5F73E4
analogous
#E48D5F #E4D05F #B6E45F
triadic
#E4D05F #5FE4D0 #D05FE4
tetradic
#E4D05F #5FE48D #5F73E4 #E45FB6
square
#E4D05F #5FE48D #5F73E4 #E45FB6
split-complementary
#E4D05F #5FB6E4 #8D5FE4
monochromatic
#AC961D #DBC12B #E4D05F #EDDF93 #F6EFC8

Accessibility & contrast

On white

1.56
#E4D05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#E4D05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D05F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D05F#FFFFFF#000000##000000
##E4D05F1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#F4C3B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d05f;
/* rgb */ color: rgb(228, 208, 95);
/* oklch */ color: oklch(85.2% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#efde90',
    500: '#e4d05f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d05f;
$custom-light: #efde90;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d05f",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 95
  },
  "hsl": {
    "h": 50.977,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85243,
    "c": 0.13468,
    "h": 99.4
  },
  "luminance": 0.62432
}

Semantic roles & 50–950 ramp

primary
#E4D05F
secondary
#3A4BAD
accent
#2FD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D05F

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

Preview Lab → · Contrast checker → · Palette generator →

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