#E2E875#E2E875

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

Color values

HEX#E2E875
RGBrgb(226, 232, 117)
HSLhsl(63, 71%, 68%)
HSVhsv(63, 50%, 91%)
CMYKcmyk(2.6%, 0%, 49.6%, 9%)
CIE-LABlab(89.47, -17.67, 54.67)
CIE-LCHlch(89.47, 57.46, 107.91°)
OKLaboklab(90.31% -0.051 0.1292)
OKLCHoklch(90.31% 0.139 111.5)
XYZxyz(63.4328, 75.1676, 27.9934)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E875 #7B75E8
analogous
#E8B475 #E2E875 #A8E875
triadic
#E2E875 #75E2E8 #E875E2
tetradic
#E2E875 #75E8B4 #7B75E8 #E875A8
square
#E2E875 #75E8B4 #7B75E8 #E875A8
split-complementary
#E2E875 #75A8E8 #B475E8
monochromatic
#BAC220 #D7DF41 #E2E875 #EDF1A9 #F8F9DE

Accessibility & contrast

On white

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

On black

16.03
#E2E875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E875
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E875#FFFFFF#000000##000000
##E2E8751.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6A
Deuteranopia (green-blind)
#F7E27B
Tritanopia (blue-blind)
#EFDCCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e875;
/* rgb */ color: rgb(226, 232, 117);
/* oklch */ color: oklch(90.3% 0.139 111.5);
Tailwind
colors: {
  custom: {
    50: '#edef9f',
    500: '#e2e875',
    950: '#000000',
  },
}
SCSS
$custom: #e2e875;
$custom-light: #edef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e875",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 63.13,
    "s": 71.429,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90309,
    "c": 0.1389,
    "h": 111.5
  },
  "luminance": 0.75166
}

Semantic roles & 50–950 ramp

primary
#E2E875
secondary
#4841C0
accent
#12D31C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E875

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

Preview Lab → · Contrast checker → · Palette generator →

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