#E9DC5F#E9DC5F

#E9DC5F is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.1% C 0.145 H 103.4°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#E9DC5F
RGBrgb(233, 220, 95)
HSLhsl(54, 76%, 64%)
HSVhsv(54, 59%, 91%)
CMYKcmyk(0%, 5.6%, 59.2%, 8.6%)
CIE-LABlab(86.67, -10.64, 61.50)
CIE-LCHlch(86.67, 62.41, 99.81°)
OKLaboklab(88.14% -0.0337 0.1414)
OKLCHoklch(88.14% 0.145 103.4)
XYZxyz(61.2652, 69.3385, 20.9808)
Luminance0.6934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC5F #5F6CE9
analogous
#E9975F #E9DC5F #B1E95F
triadic
#E9DC5F #5FE9DC #DC5FE9
tetradic
#E9DC5F #5FE997 #5F6CE9 #E95FB1
square
#E9DC5F #5FE997 #5F6CE9 #E95FB1
split-complementary
#E9DC5F #5FB1E9 #975FE9
monochromatic
#B5A619 #E2D029 #E9DC5F #F0E895 #F8F4CB

Accessibility & contrast

On white

1.41
#E9DC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#E9DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC5F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC5F#FFFFFF#000000##000000
##E9DC5F1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED551
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#F9CEC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e9dc5f;
/* rgb */ color: rgb(233, 220, 95);
/* oklch */ color: oklch(88.1% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#f3e691',
    500: '#e9dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc5f;
$custom-light: #f3e691;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc5f",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 54.348,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88144,
    "c": 0.14537,
    "h": 103.4
  },
  "luminance": 0.69336
}

Semantic roles & 50–950 ramp

primary
#E9DC5F
secondary
#3743B5
accent
#21D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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