#E2E672#E2E672

#E2E672 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.9% C 0.139 H 110.7°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#E2E672
RGBrgb(226, 230, 114)
HSLhsl(62, 70%, 67%)
HSVhsv(62, 50%, 90%)
CMYKcmyk(1.7%, 0%, 50.4%, 9.8%)
CIE-LABlab(88.91, -16.95, 55.40)
CIE-LCHlch(88.91, 57.94, 107.01°)
OKLaboklab(89.85% -0.0492 0.1305)
OKLCHoklch(89.85% 0.139 110.7)
XYZxyz(62.6995, 73.9786, 26.8927)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E672 #7672E6
analogous
#E6B072 #E2E672 #A8E672
triadic
#E2E672 #72E2E6 #E672E2
tetradic
#E2E672 #72E6B0 #7672E6 #E672A8
square
#E2E672 #72E6B0 #7672E6 #E672A8
split-complementary
#E2E672 #72A8E6 #B072E6
monochromatic
#B7BC21 #D7DD3E #E2E672 #EDEFA6 #F7F8DA

Accessibility & contrast

On white

1.33
#E2E672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#E2E672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E672
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E672#FFFFFF#000000##000000
##E2E6721.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD67
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#EFDACC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e672;
/* rgb */ color: rgb(226, 230, 114);
/* oklch */ color: oklch(89.9% 0.139 110.7);
Tailwind
colors: {
  custom: {
    50: '#eded9d',
    500: '#e2e672',
    950: '#000000',
  },
}
SCSS
$custom: #e2e672;
$custom-light: #eded9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e672",
  "rgb": {
    "r": 226,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 62.069,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89853,
    "c": 0.13948,
    "h": 110.7
  },
  "luminance": 0.73977
}

Semantic roles & 50–950 ramp

primary
#E2E672
secondary
#4540BC
accent
#14D21A
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E672

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

Preview Lab → · Contrast checker → · Palette generator →

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