#E2D331#E2D331

#E2D331 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.168 H 103.8°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#E2D331
RGBrgb(226, 211, 49)
HSLhsl(55, 75%, 54%)
HSVhsv(55, 78%, 89%)
CMYKcmyk(0%, 6.6%, 78.3%, 11.4%)
CIE-LABlab(83.43, -11.39, 75.14)
CIE-LCHlch(83.43, 76.00, 98.62°)
OKLaboklab(85.33% -0.04 0.163)
OKLCHoklch(85.33% 0.168 103.8)
XYZxyz(55.2152, 62.9814, 12.1533)
Luminance0.6298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D331 #3140E2
analogous
#E27B31 #E2D331 #99E231
triadic
#E2D331 #31E2D3 #D331E2
tetradic
#E2D331 #31E27B #3140E2 #E23199
square
#E2D331 #31E27B #3140E2 #E23199
split-complementary
#E2D331 #3199E2 #7B31E2
monochromatic
#867C13 #BBAE1A #E2D331 #EADE67 #F1EA9C

Accessibility & contrast

On white

1.54
#E2D331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#E2D331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D331
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D331#FFFFFF#000000##000000
##E2D3311.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC00
Deuteranopia (green-blind)
#EBD33E
Tritanopia (blue-blind)
#F3C4B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d331;
/* rgb */ color: rgb(226, 211, 49);
/* oklch */ color: oklch(85.3% 0.168 103.8);
Tailwind
colors: {
  custom: {
    50: '#efe077',
    500: '#e2d331',
    950: '#000000',
  },
}
SCSS
$custom: #e2d331;
$custom-light: #efe077;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d331",
  "rgb": {
    "r": 226,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 54.915,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.85329,
    "c": 0.16785,
    "h": 103.8
  },
  "luminance": 0.62979
}

Semantic roles & 50–950 ramp

primary
#E2D331
secondary
#2B338C
accent
#46F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D331

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

Preview Lab → · Contrast checker → · Palette generator →

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