#E9D45F#E9D45F

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

Color values

HEX#E9D45F
RGBrgb(233, 212, 95)
HSLhsl(51, 76%, 64%)
HSVhsv(51, 59%, 91%)
CMYKcmyk(0%, 9%, 59.2%, 8.6%)
CIE-LABlab(84.61, -6.61, 59.21)
CIE-LCHlch(84.61, 59.58, 96.37°)
OKLaboklab(86.51% -0.0221 0.1365)
OKLCHoklch(86.51% 0.138 99.2)
XYZxyz(59.2156, 65.2393, 20.2976)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D45F #5F74E9
analogous
#E98F5F #E9D45F #B9E95F
triadic
#E9D45F #5FE9D4 #D45FE9
tetradic
#E9D45F #5FE98F #5F74E9 #E95FB9
square
#E9D45F #5FE98F #5F74E9 #E95FB9
split-complementary
#E9D45F #5FB9E9 #8F5FE9
monochromatic
#B59D19 #E2C629 #E9D45F #F0E295 #F8F1CB

Accessibility & contrast

On white

1.49
#E9D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#E9D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D45F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D45F#FFFFFF#000000##000000
##E9D45F1.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9d45f;
/* rgb */ color: rgb(233, 212, 95);
/* oklch */ color: oklch(86.5% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#f3e090',
    500: '#e9d45f',
    950: '#000000',
  },
}
SCSS
$custom: #e9d45f;
$custom-light: #f3e090;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d45f",
  "rgb": {
    "r": 233,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 50.87,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86505,
    "c": 0.13832,
    "h": 99.2
  },
  "luminance": 0.65237
}

Semantic roles & 50–950 ramp

primary
#E9D45F
secondary
#374AB5
accent
#2CD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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