#E2E670#E2E670

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

Color values

HEX#E2E670
RGBrgb(226, 230, 112)
HSLhsl(62, 70%, 67%)
HSVhsv(62, 51%, 90%)
CMYKcmyk(1.7%, 0%, 51.3%, 9.8%)
CIE-LABlab(88.89, -17.12, 56.29)
CIE-LCHlch(88.89, 58.84, 106.92°)
OKLaboklab(89.83% -0.0499 0.1323)
OKLCHoklch(89.83% 0.141 110.7)
XYZxyz(62.5869, 73.9336, 26.2997)
Luminance0.7393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E670 #7470E6
analogous
#E6AF70 #E2E670 #A7E670
triadic
#E2E670 #70E2E6 #E670E2
tetradic
#E2E670 #70E6AF #7470E6 #E670A7
square
#E2E670 #70E6AF #7470E6 #E670A7
split-complementary
#E2E670 #70A7E6 #AF70E6
monochromatic
#B6BB21 #D7DD3C #E2E670 #EDEFA4 #F7F8D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E670#FFFFFF#000000##000000
##E2E6701.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)
#F5DD65
Deuteranopia (green-blind)
#F6E176
Tritanopia (blue-blind)
#EFDACB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e670;
/* rgb */ color: rgb(226, 230, 112);
/* oklch */ color: oklch(89.8% 0.141 110.7);
Tailwind
colors: {
  custom: {
    50: '#eded9c',
    500: '#e2e670',
    950: '#000000',
  },
}
SCSS
$custom: #e2e670;
$custom-light: #eded9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e670",
  "rgb": {
    "r": 226,
    "g": 230,
    "b": 112
  },
  "hsl": {
    "h": 62.034,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89829,
    "c": 0.14136,
    "h": 110.7
  },
  "luminance": 0.73932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E670

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

Preview Lab → · Contrast checker → · Palette generator →

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