#E9D255#E9D255

#E9D255 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.145 H 98.8°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#E9D255
RGBrgb(233, 210, 85)
HSLhsl(51, 77%, 62%)
HSVhsv(51, 64%, 91%)
CMYKcmyk(0%, 9.9%, 63.5%, 8.6%)
CIE-LABlab(84.00, -6.24, 62.88)
CIE-LCHlch(84.00, 63.19, 95.67°)
OKLaboklab(86% -0.0222 0.143)
OKLCHoklch(86% 0.145 98.8)
XYZxyz(58.2930, 64.0753, 17.8898)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D255 #556CE9
analogous
#E98855 #E9D255 #B6E955
triadic
#E9D255 #55E9D2 #D255E9
tetradic
#E9D255 #55E988 #556CE9 #E955B6
square
#E9D255 #55E988 #556CE9 #E955B6
split-complementary
#E9D255 #55B6E9 #8855E9
monochromatic
#AD9616 #E2C41F #E9D255 #F0E08B #F7EFC1

Accessibility & contrast

On white

1.52
#E9D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#E9D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D255
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D255#FFFFFF#000000##000000
##E9D2551.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD46
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#FAC4B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e9d255;
/* rgb */ color: rgb(233, 210, 85);
/* oklch */ color: oklch(86.0% 0.145 98.8);
Tailwind
colors: {
  custom: {
    50: '#f3df8a',
    500: '#e9d255',
    950: '#000000',
  },
}
SCSS
$custom: #e9d255;
$custom-light: #f3df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d255",
  "rgb": {
    "r": 233,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 50.676,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86,
    "c": 0.1447,
    "h": 98.8
  },
  "luminance": 0.64073
}

Semantic roles & 50–950 ramp

primary
#E9D255
secondary
#3447AE
accent
#2CD90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9D255

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

Preview Lab → · Contrast checker → · Palette generator →

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