#E4D06C#E4D06C

#E4D06C is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.123 H 98.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#E4D06C
RGBrgb(228, 208, 108)
HSLhsl(50, 69%, 66%)
HSVhsv(50, 53%, 89%)
CMYKcmyk(0%, 8.8%, 52.6%, 10.6%)
CIE-LABlab(83.28, -5.64, 51.60)
CIE-LCHlch(83.28, 51.91, 96.24°)
OKLaboklab(85.39% -0.0176 0.1216)
OKLCHoklch(85.39% 0.123 98.2)
XYZxyz(57.2595, 62.6907, 23.2688)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D06C #6C80E4
analogous
#E4946C #E4D06C #BCE46C
triadic
#E4D06C #6CE4D0 #D06CE4
tetradic
#E4D06C #6CE494 #6C80E4 #E46CBC
square
#E4D06C #6CE494 #6C80E4 #E46CBC
split-complementary
#E4D06C #6CBCE4 #946CE4
monochromatic
#B49C21 #DBBF38 #E4D06C #EDE1A0 #F7F1D3

Accessibility & contrast

On white

1.55
#E4D06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#E4D06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D06C
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D06C#FFFFFF#000000##000000
##E4D06C1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB63
Deuteranopia (green-blind)
#E6D370
Tritanopia (blue-blind)
#F3C3B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d06c;
/* rgb */ color: rgb(228, 208, 108);
/* oklch */ color: oklch(85.4% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#efde98',
    500: '#e4d06c',
    950: '#000000',
  },
}
SCSS
$custom: #e4d06c;
$custom-light: #efde98;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d06c",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 108
  },
  "hsl": {
    "h": 50,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85394,
    "c": 0.12291,
    "h": 98.2
  },
  "luminance": 0.62688
}

Semantic roles & 50–950 ramp

primary
#E4D06C
secondary
#3F53B5
accent
#34D115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D06C

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

Preview Lab → · Contrast checker → · Palette generator →

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