#E2D145#E2D145

#E2D145 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.155 H 102.3°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#E2D145
RGBrgb(226, 209, 69)
HSLhsl(54, 73%, 58%)
HSVhsv(54, 69%, 89%)
CMYKcmyk(0%, 7.5%, 69.5%, 11.4%)
CIE-LABlab(83.02, -9.55, 68.07)
CIE-LCHlch(83.02, 68.73, 97.99°)
OKLaboklab(85.04% -0.033 0.1516)
OKLCHoklch(85.04% 0.155 102.3)
XYZxyz(55.2411, 62.2017, 14.7254)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D145 #4556E2
analogous
#E28245 #E2D145 #A5E245
triadic
#E2D145 #45E2D1 #D145E2
tetradic
#E2D145 #45E282 #4556E2 #E245A5
square
#E2D145 #45E282 #4556E2 #E245A5
split-complementary
#E2D145 #45A5E2 #8245E2
monochromatic
#958817 #CAB820 #E2D145 #EADE7A #F3EBAF

Accessibility & contrast

On white

1.56
#E2D145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#E2D145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D145
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D145#FFFFFF#000000##000000
##E2D1451.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2F
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#F3C3B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d145;
/* rgb */ color: rgb(226, 209, 69);
/* oklch */ color: oklch(85.0% 0.155 102.3);
Tailwind
colors: {
  custom: {
    50: '#efde81',
    500: '#e2d145',
    950: '#000000',
  },
}
SCSS
$custom: #e2d145;
$custom-light: #efde81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d145",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 53.503,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85036,
    "c": 0.15514,
    "h": 102.3
  },
  "luminance": 0.62199
}

Semantic roles & 50–950 ramp

primary
#E2D145
secondary
#323D9A
accent
#4CF038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D145

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

Preview Lab → · Contrast checker → · Palette generator →

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