#E2D245#E2D245

#E2D245 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.2% C 0.156 H 102.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#E2D245
RGBrgb(226, 210, 69)
HSLhsl(54, 73%, 58%)
HSVhsv(54, 69%, 89%)
CMYKcmyk(0%, 7.1%, 69.5%, 11.4%)
CIE-LABlab(83.28, -10.05, 68.32)
CIE-LCHlch(83.28, 69.06, 98.37°)
OKLaboklab(85.24% -0.0344 0.1522)
OKLCHoklch(85.24% 0.156 102.7)
XYZxyz(55.4872, 62.6939, 14.8075)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D245 #4555E2
analogous
#E28345 #E2D245 #A4E245
triadic
#E2D245 #45E2D2 #D245E2
tetradic
#E2D245 #45E283 #4555E2 #E245A4
square
#E2D245 #45E283 #4555E2 #E245A4
split-complementary
#E2D245 #45A4E2 #8345E2
monochromatic
#958817 #CAB920 #E2D245 #EADF7A #F3ECAF

Accessibility & contrast

On white

1.55
#E2D245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#E2D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D245
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D245#FFFFFF#000000##000000
##E2D2451.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2F
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#F3C4B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d245;
/* rgb */ color: rgb(226, 210, 69);
/* oklch */ color: oklch(85.2% 0.156 102.7);
Tailwind
colors: {
  custom: {
    50: '#efdf81',
    500: '#e2d245',
    950: '#000000',
  },
}
SCSS
$custom: #e2d245;
$custom-light: #efdf81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d245",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 53.885,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85243,
    "c": 0.15599,
    "h": 102.7
  },
  "luminance": 0.62692
}

Semantic roles & 50–950 ramp

primary
#E2D245
secondary
#323C9A
accent
#4BF038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D245

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

Preview Lab → · Contrast checker → · Palette generator →

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