#E2E262#E2E262

#E2E262 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.8% C 0.149 H 109.1°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#E2E262
RGBrgb(226, 226, 98)
HSLhsl(60, 69%, 64%)
HSVhsv(60, 57%, 89%)
CMYKcmyk(0%, 0%, 56.6%, 11.4%)
CIE-LABlab(87.70, -16.25, 61.18)
CIE-LCHlch(87.70, 63.30, 104.87°)
OKLaboklab(88.84% -0.0489 0.1413)
OKLCHoklch(88.84% 0.149 109.1)
XYZxyz(60.7667, 71.4449, 22.1421)
Luminance0.7144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E262 #6262E2
analogous
#E2A262 #E2E262 #A2E262
triadic
#E2E262 #62E2E2 #E262E2
tetradic
#E2E262 #62E2A2 #6262E2 #E262A2
square
#E2E262 #62E2A2 #6262E2 #E262A2
split-complementary
#E2E262 #62A2E2 #A262E2
monochromatic
#AAAA1F #D8D82E #E2E262 #ECEC96 #F5F5C9

Accessibility & contrast

On white

1.37
#E2E262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#E2E262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E262
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E262#FFFFFF#000000##000000
##E2E2621.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F4DE69
Tritanopia (blue-blind)
#F0D5C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e262;
/* rgb */ color: rgb(226, 226, 98);
/* oklch */ color: oklch(88.8% 0.149 109.1);
Tailwind
colors: {
  custom: {
    50: '#eeea93',
    500: '#e2e262',
    950: '#000000',
  },
}
SCSS
$custom: #e2e262;
$custom-light: #eeea93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e262",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88835,
    "c": 0.14948,
    "h": 109.1
  },
  "luminance": 0.71443
}

Semantic roles & 50–950 ramp

primary
#E2E262
secondary
#3C3CAC
accent
#15D115
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E262

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

Preview Lab → · Contrast checker → · Palette generator →

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