#E9D45B#E9D45B

#E9D45B is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.5% C 0.142 H 99.5°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#E9D45B
RGBrgb(233, 212, 91)
HSLhsl(51, 76%, 64%)
HSVhsv(51, 61%, 91%)
CMYKcmyk(0%, 9%, 60.9%, 8.6%)
CIE-LABlab(84.57, -6.88, 60.93)
CIE-LCHlch(84.57, 61.31, 96.44°)
OKLaboklab(86.47% -0.0234 0.1397)
OKLCHoklch(86.47% 0.142 99.5)
XYZxyz(59.0385, 65.1685, 19.3645)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D45B #5B70E9
analogous
#E98D5B #E9D45B #B7E95B
triadic
#E9D45B #5BE9D4 #D45BE9
tetradic
#E9D45B #5BE98D #5B70E9 #E95BB7
square
#E9D45B #5BE98D #5B70E9 #E95BB7
split-complementary
#E9D45B #5BB7E9 #8D5BE9
monochromatic
#B29B18 #E2C625 #E9D45B #F0E291 #F7F0C7

Accessibility & contrast

On white

1.50
#E9D45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#E9D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D45B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D45B#FFFFFF#000000##000000
##E9D45B1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4E
Deuteranopia (green-blind)
#ECD661
Tritanopia (blue-blind)
#FAC6BA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e9d45b;
/* rgb */ color: rgb(233, 212, 91);
/* oklch */ color: oklch(86.5% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#f3e08e',
    500: '#e9d45b',
    950: '#000000',
  },
}
SCSS
$custom: #e9d45b;
$custom-light: #f3e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d45b",
  "rgb": {
    "r": 233,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 51.127,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86465,
    "c": 0.14161,
    "h": 99.5
  },
  "luminance": 0.65166
}

Semantic roles & 50–950 ramp

primary
#E9D45B
secondary
#3648B2
accent
#2BD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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