#E2E873#E2E873

#E2E873 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.3% C 0.141 H 111.5°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#E2E873
RGBrgb(226, 232, 115)
HSLhsl(63, 72%, 68%)
HSVhsv(63, 50%, 91%)
CMYKcmyk(2.6%, 0%, 50.4%, 9%)
CIE-LABlab(89.45, -17.84, 55.57)
CIE-LCHlch(89.45, 58.37, 107.80°)
OKLaboklab(90.29% -0.0517 0.131)
OKLCHoklch(90.29% 0.141 111.5)
XYZxyz(63.3164, 75.1210, 27.3807)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E873 #7973E8
analogous
#E8B373 #E2E873 #A7E873
triadic
#E2E873 #73E2E8 #E873E2
tetradic
#E2E873 #73E8B3 #7973E8 #E873A7
square
#E2E873 #73E8B3 #7973E8 #E873A7
split-complementary
#E2E873 #73A7E8 #B373E8
monochromatic
#B9C120 #D7DF3E #E2E873 #EDF1A8 #F8F9DC

Accessibility & contrast

On white

1.31
#E2E873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#E2E873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E873
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E873#FFFFFF#000000##000000
##E2E8731.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#F8E279
Tritanopia (blue-blind)
#EFDCCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e873;
/* rgb */ color: rgb(226, 232, 115);
/* oklch */ color: oklch(90.3% 0.141 111.5);
Tailwind
colors: {
  custom: {
    50: '#edef9e',
    500: '#e2e873',
    950: '#000000',
  },
}
SCSS
$custom: #e2e873;
$custom-light: #edef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e873",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 115
  },
  "hsl": {
    "h": 63.077,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90285,
    "c": 0.1408,
    "h": 111.5
  },
  "luminance": 0.7512
}

Semantic roles & 50–950 ramp

primary
#E2E873
secondary
#4640C0
accent
#12D41C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E873

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

Preview Lab → · Contrast checker → · Palette generator →

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