#E2E27D#E2E27D

#E2E27D is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.2% C 0.124 H 108.7°. Best body text is #000000 at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#E2E27D
RGBrgb(226, 226, 125)
HSLhsl(60, 64%, 69%)
HSVhsv(60, 45%, 89%)
CMYKcmyk(0%, 0%, 44.7%, 11.4%)
CIE-LABlab(87.99, -13.99, 49.12)
CIE-LCHlch(87.99, 51.07, 105.89°)
OKLaboklab(89.16% -0.0397 0.1176)
OKLCHoklch(89.16% 0.124 108.7)
XYZxyz(62.2632, 72.0435, 30.0240)
Luminance0.7204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E27D #7D7DE2
analogous
#E2B07D #E2E27D #B0E27D
triadic
#E2E27D #7DE2E2 #E27DE2
tetradic
#E2E27D #7DE2B0 #7D7DE2 #E27DB0
square
#E2E27D #7DE2B0 #7D7DE2 #E27DB0
split-complementary
#E2E27D #7DB0E2 #B07DE2
monochromatic
#BBBB2A #D7D74B #E2E27D #EDEDAF #F8F8E1

Accessibility & contrast

On white

1.36
#E2E27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.41
#E2E27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E27D
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E27D#FFFFFF#000000##000000
##E2E27D1.001.3615.4115.41
#FFFFFF1.361.0021.0021.00
#00000015.4121.001.001.00
##00000015.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB74
Deuteranopia (green-blind)
#F2DF82
Tritanopia (blue-blind)
#EFD7CA
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e2e27d;
/* rgb */ color: rgb(226, 226, 125);
/* oklch */ color: oklch(89.2% 0.124 108.7);
Tailwind
colors: {
  custom: {
    50: '#edeba4',
    500: '#e2e27d',
    950: '#000000',
  },
}
SCSS
$custom: #e2e27d;
$custom-light: #edeba4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e27d",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89159,
    "c": 0.12414,
    "h": 108.7
  },
  "luminance": 0.72042
}

Semantic roles & 50–950 ramp

primary
#E2E27D
secondary
#4A4AB9
accent
#1ACB1A
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E2E27D

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

Preview Lab → · Contrast checker → · Palette generator →

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