#E9CD5B#E9CD5B

#E9CD5B is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.0% C 0.136 H 95.5°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#E9CD5B
RGBrgb(233, 205, 91)
HSLhsl(48, 76%, 64%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12%, 60.9%, 8.6%)
CIE-LABlab(82.78, -3.31, 58.95)
CIE-LCHlch(82.78, 59.04, 93.22°)
OKLaboklab(85.05% -0.0131 0.1355)
OKLCHoklch(85.05% 0.136 95.5)
XYZxyz(57.3264, 61.7444, 18.7938)
Luminance0.6174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CD5B #5B77E9
analogous
#E9865B #E9CD5B #BEE95B
triadic
#E9CD5B #5BE9CD #CD5BE9
tetradic
#E9CD5B #5BE986 #5B77E9 #E95BBE
square
#E9CD5B #5BE986 #5B77E9 #E95BBE
split-complementary
#E9CD5B #5BBEE9 #865BE9
monochromatic
#B29318 #E2BD25 #E9CD5B #F0DD91 #F7EEC7

Accessibility & contrast

On white

1.57
#E9CD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#E9CD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CD5B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CD5B#FFFFFF#000000##000000
##E9CD5B1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#FABFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e9cd5b;
/* rgb */ color: rgb(233, 205, 91);
/* oklch */ color: oklch(85.0% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#f3db8d',
    500: '#e9cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #e9cd5b;
$custom-light: #f3db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cd5b",
  "rgb": {
    "r": 233,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 48.169,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85045,
    "c": 0.1361,
    "h": 95.5
  },
  "luminance": 0.61742
}

Semantic roles & 50–950 ramp

primary
#E9CD5B
secondary
#364FB2
accent
#35D90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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