#E9D254#E9D254

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

Color values

HEX#E9D254
RGBrgb(233, 210, 84)
HSLhsl(51, 77%, 62%)
HSVhsv(51, 64%, 91%)
CMYKcmyk(0%, 9.9%, 63.9%, 8.6%)
CIE-LABlab(84.00, -6.31, 63.29)
CIE-LCHlch(84.00, 63.61, 95.69°)
OKLaboklab(85.99% -0.0225 0.1437)
OKLCHoklch(85.99% 0.145 98.9)
XYZxyz(58.2536, 64.0596, 17.6821)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D254 #546BE9
analogous
#E98754 #E9D254 #B6E954
triadic
#E9D254 #54E9D2 #D254E9
tetradic
#E9D254 #54E987 #546BE9 #E954B6
square
#E9D254 #54E987 #546BE9 #E954B6
split-complementary
#E9D254 #54B6E9 #8754E9
monochromatic
#AC9516 #E2C41E #E9D254 #F0E08A #F7EFC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E9D254#FFFFFF#000000##000000
##E9D2541.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)
#E5CD45
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#FAC4B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e9d254;
/* rgb */ color: rgb(233, 210, 84);
/* oklch */ color: oklch(86.0% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#f3df8a',
    500: '#e9d254',
    950: '#000000',
  },
}
SCSS
$custom: #e9d254;
$custom-light: #f3df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d254",
  "rgb": {
    "r": 233,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 50.738,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85991,
    "c": 0.14546,
    "h": 98.9
  },
  "luminance": 0.64057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E9D254

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

Preview Lab → · Contrast checker → · Palette generator →

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