#E9DC6B#E9DC6B

#E9DC6B is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.3% C 0.135 H 102.8°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#E9DC6B
RGBrgb(233, 220, 107)
HSLhsl(54, 74%, 67%)
HSVhsv(54, 54%, 91%)
CMYKcmyk(0%, 5.6%, 54.1%, 8.6%)
CIE-LABlab(86.79, -9.76, 56.28)
CIE-LCHlch(86.79, 57.12, 99.84°)
OKLaboklab(88.27% -0.0298 0.1316)
OKLCHoklch(88.27% 0.135 102.8)
XYZxyz(61.8533, 69.5737, 24.0780)
Luminance0.6957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC6B #6B78E9
analogous
#E99D6B #E9DC6B #B7E96B
triadic
#E9DC6B #6BE9DC #DC6BE9
tetradic
#E9DC6B #6BE99D #6B78E9 #E96BB7
square
#E9DC6B #6BE99D #6B78E9 #E96BB7
split-complementary
#E9DC6B #6BB7E9 #9D6BE9
monochromatic
#BDAD1C #E1CF36 #E9DC6B #F1E9A0 #F9F5D6

Accessibility & contrast

On white

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

On black

14.91
#E9DC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC6B
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC6B#FFFFFF#000000##000000
##E9DC6B1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD660
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#F8CFC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e9dc6b;
/* rgb */ color: rgb(233, 220, 107);
/* oklch */ color: oklch(88.3% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#f2e698',
    500: '#e9dc6b',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc6b;
$custom-light: #f2e698;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc6b",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 107
  },
  "hsl": {
    "h": 53.81,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88273,
    "c": 0.13494,
    "h": 102.8
  },
  "luminance": 0.69572
}

Semantic roles & 50–950 ramp

primary
#E9DC6B
secondary
#3C49BC
accent
#24D60F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E9DC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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