#E2E47B#E2E47B

#E2E47B is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.5% C 0.128 H 109.7°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#E2E47B
RGBrgb(226, 228, 123)
HSLhsl(61, 66%, 69%)
HSVhsv(61, 46%, 89%)
CMYKcmyk(0.9%, 0%, 46.1%, 10.6%)
CIE-LABlab(88.49, -15.16, 50.68)
CIE-LCHlch(88.49, 52.90, 106.66°)
OKLaboklab(89.55% -0.0433 0.1209)
OKLCHoklch(89.55% 0.128 109.7)
XYZxyz(62.6838, 73.0870, 29.5402)
Luminance0.7309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E47B #7D7BE4
analogous
#E4B27B #E2E47B #AEE47B
triadic
#E2E47B #7BE2E4 #E47BE2
tetradic
#E2E47B #7BE4B2 #7D7BE4 #E47BAE
square
#E2E47B #7BE4B2 #7D7BE4 #E47BAE
split-complementary
#E2E47B #7BAEE4 #B27BE4
monochromatic
#BBBE27 #D7DA48 #E2E47B #EDEEAE #F8F9E1

Accessibility & contrast

On white

1.34
#E2E47B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#E2E47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E47B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E47B#FFFFFF#000000##000000
##E2E47B1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC72
Deuteranopia (green-blind)
#F4E080
Tritanopia (blue-blind)
#EFD9CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e47b;
/* rgb */ color: rgb(226, 228, 123);
/* oklch */ color: oklch(89.5% 0.128 109.7);
Tailwind
colors: {
  custom: {
    50: '#edeca3',
    500: '#e2e47b',
    950: '#000000',
  },
}
SCSS
$custom: #e2e47b;
$custom-light: #edeca3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e47b",
  "rgb": {
    "r": 226,
    "g": 228,
    "b": 123
  },
  "hsl": {
    "h": 61.143,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89549,
    "c": 0.12844,
    "h": 109.7
  },
  "luminance": 0.73086
}

Semantic roles & 50–950 ramp

primary
#E2E47B
secondary
#4A48BC
accent
#18CE1B
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E2E47B

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

Preview Lab → · Contrast checker → · Palette generator →

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