#E0D95F#E0D95F

#E0D95F is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.143 H 106.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E0D95F
RGBrgb(224, 217, 95)
HSLhsl(57, 68%, 63%)
HSVhsv(57, 58%, 88%)
CMYKcmyk(0%, 3.1%, 57.6%, 12.2%)
CIE-LABlab(85.15, -12.82, 59.61)
CIE-LCHlch(85.15, 60.97, 102.14°)
OKLaboklab(86.76% -0.0394 0.1376)
OKLCHoklch(86.76% 0.143 106)
XYZxyz(57.6207, 66.3011, 20.5864)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D95F #5F66E0
analogous
#E0985F #E0D95F #A7E05F
triadic
#E0D95F #5FE0D9 #D95FE0
tetradic
#E0D95F #5FE098 #5F66E0 #E05FA7
square
#E0D95F #5FE098 #5F66E0 #E05FA7
split-complementary
#E0D95F #5FA7E0 #985FE0
monochromatic
#A59D20 #D6CD2C #E0D95F #EAE592 #F4F1C6

Accessibility & contrast

On white

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

On black

14.26
#E0D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D95F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D95F#FFFFFF#000000##000000
##E0D95F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#EDD766
Tritanopia (blue-blind)
#EFCCBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e0d95f;
/* rgb */ color: rgb(224, 217, 95);
/* oklch */ color: oklch(86.8% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece491',
    500: '#e0d95f',
    950: '#000000',
  },
}
SCSS
$custom: #e0d95f;
$custom-light: #ece491;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d95f",
  "rgb": {
    "r": 224,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 56.744,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86755,
    "c": 0.14309,
    "h": 106
  },
  "luminance": 0.66299
}

Semantic roles & 50–950 ramp

primary
#E0D95F
secondary
#3C42A7
accent
#20CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E0D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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