#E2E671#E2E671

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

Color values

HEX#E2E671
RGBrgb(226, 230, 113)
HSLhsl(62, 70%, 67%)
HSVhsv(62, 51%, 90%)
CMYKcmyk(1.7%, 0%, 50.9%, 9.8%)
CIE-LABlab(88.90, -17.04, 55.85)
CIE-LCHlch(88.90, 58.39, 106.97°)
OKLaboklab(89.84% -0.0496 0.1314)
OKLCHoklch(89.84% 0.14 110.7)
XYZxyz(62.6428, 73.9560, 26.5946)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E671 #7571E6
analogous
#E6AF71 #E2E671 #A8E671
triadic
#E2E671 #71E2E6 #E671E2
tetradic
#E2E671 #71E6AF #7571E6 #E671A8
square
#E2E671 #71E6AF #7571E6 #E671A8
split-complementary
#E2E671 #71A8E6 #AF71E6
monochromatic
#B6BC21 #D7DD3D #E2E671 #EDEFA5 #F7F8D9

Accessibility & contrast

On white

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

On black

15.79
#E2E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E671
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E671#FFFFFF#000000##000000
##E2E6711.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e671;
/* rgb */ color: rgb(226, 230, 113);
/* oklch */ color: oklch(89.8% 0.140 110.7);
Tailwind
colors: {
  custom: {
    50: '#eded9d',
    500: '#e2e671',
    950: '#000000',
  },
}
SCSS
$custom: #e2e671;
$custom-light: #eded9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e671",
  "rgb": {
    "r": 226,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 62.051,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89841,
    "c": 0.14043,
    "h": 110.7
  },
  "luminance": 0.73955
}

Semantic roles & 50–950 ramp

primary
#E2E671
secondary
#4440BB
accent
#13D21A
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E671

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

Preview Lab → · Contrast checker → · Palette generator →

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