#E2D45B#E2D45B

#E2D45B is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.142 H 102.7°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#E2D45B
RGBrgb(226, 212, 91)
HSLhsl(54, 70%, 62%)
HSVhsv(54, 60%, 89%)
CMYKcmyk(0%, 6.2%, 59.7%, 11.4%)
CIE-LABlab(83.97, -9.77, 60.10)
CIE-LCHlch(83.97, 60.89, 99.23°)
OKLaboklab(85.85% -0.0312 0.1381)
OKLCHoklch(85.85% 0.142 102.7)
XYZxyz(56.7979, 64.0132, 19.2594)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D45B #5B69E2
analogous
#E2915B #E2D45B #ACE25B
triadic
#E2D45B #5BE2D4 #D45BE2
tetradic
#E2D45B #5BE291 #5B69E2 #E25BAC
square
#E2D45B #5BE291 #5B69E2 #E25BAC
split-complementary
#E2D45B #5BACE2 #915BE2
monochromatic
#A5971D #D9C627 #E2D45B #EBE28F #F4EFC3

Accessibility & contrast

On white

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

On black

13.80
#E2D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D45B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D45B#FFFFFF#000000##000000
##E2D45B1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE4E
Deuteranopia (green-blind)
#EAD461
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d45b;
/* rgb */ color: rgb(226, 212, 91);
/* oklch */ color: oklch(85.8% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#eee08e',
    500: '#e2d45b',
    950: '#000000',
  },
}
SCSS
$custom: #e2d45b;
$custom-light: #eee08e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d45b",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 53.778,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85848,
    "c": 0.14155,
    "h": 102.7
  },
  "luminance": 0.64011
}

Semantic roles & 50–950 ramp

primary
#E2D45B
secondary
#3945A8
accent
#27D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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