#E2D237#E2D237

#E2D237 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.164 H 103.2°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#E2D237
RGBrgb(226, 210, 55)
HSLhsl(54, 75%, 55%)
HSVhsv(54, 76%, 89%)
CMYKcmyk(0%, 7.1%, 75.7%, 11.4%)
CIE-LABlab(83.20, -10.67, 73.10)
CIE-LCHlch(83.20, 73.88, 98.30°)
OKLaboklab(85.15% -0.0375 0.1598)
OKLCHoklch(85.15% 0.164 103.2)
XYZxyz(55.1027, 62.5401, 12.7826)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D237 #3747E2
analogous
#E27D37 #E2D237 #9CE237
triadic
#E2D237 #37E2D2 #D237E2
tetradic
#E2D237 #37E27D #3747E2 #E2379C
square
#E2D237 #37E27D #3747E2 #E2379C
split-complementary
#E2D237 #379CE2 #7D37E2
monochromatic
#8B7F14 #C0B11C #E2D237 #EADE6C #F2EAA2

Accessibility & contrast

On white

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

On black

13.51
#E2D237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D237
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D237#FFFFFF#000000##000000
##E2D2371.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d237;
/* rgb */ color: rgb(226, 210, 55);
/* oklch */ color: oklch(85.2% 0.164 103.2);
Tailwind
colors: {
  custom: {
    50: '#efdf7a',
    500: '#e2d237',
    950: '#000000',
  },
}
SCSS
$custom: #e2d237;
$custom-light: #efdf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d237",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 55
  },
  "hsl": {
    "h": 54.386,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85153,
    "c": 0.16411,
    "h": 103.2
  },
  "luminance": 0.62538
}

Semantic roles & 50–950 ramp

primary
#E2D237
secondary
#2D3690
accent
#48F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D237

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

Preview Lab → · Contrast checker → · Palette generator →

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