#E9CD5F#E9CD5F

#E9CD5F is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.133 H 95.1°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#E9CD5F
RGBrgb(233, 205, 95)
HSLhsl(48, 76%, 64%)
HSVhsv(48, 59%, 91%)
CMYKcmyk(0%, 12%, 59.2%, 8.6%)
CIE-LABlab(82.81, -3.04, 57.20)
CIE-LCHlch(82.81, 57.28, 93.04°)
OKLaboklab(85.09% -0.0119 0.1322)
OKLCHoklch(85.09% 0.133 95.1)
XYZxyz(57.5036, 61.8152, 19.7269)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CD5F #5F7BE9
analogous
#E9885F #E9CD5F #C0E95F
triadic
#E9CD5F #5FE9CD #CD5FE9
tetradic
#E9CD5F #5FE988 #5F7BE9 #E95FC0
square
#E9CD5F #5FE988 #5F7BE9 #E95FC0
split-complementary
#E9CD5F #5FC0E9 #885FE9
monochromatic
#B59519 #E2BC29 #E9CD5F #F0DE95 #F8EFCB

Accessibility & contrast

On white

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

On black

13.36
#E9CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CD5F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CD5F#FFFFFF#000000##000000
##E9CD5F1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C954
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#FABFB5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e9cd5f;
/* rgb */ color: rgb(233, 205, 95);
/* oklch */ color: oklch(85.1% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#f3dc90',
    500: '#e9cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #e9cd5f;
$custom-light: #f3dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cd5f",
  "rgb": {
    "r": 233,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 47.826,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85087,
    "c": 0.13276,
    "h": 95.1
  },
  "luminance": 0.61813
}

Semantic roles & 50–950 ramp

primary
#E9CD5F
secondary
#3751B5
accent
#37D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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