#E3E252#E3E252

#E3E252 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.8% C 0.162 H 108.9°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#E3E252
RGBrgb(227, 226, 82)
HSLhsl(60, 72%, 61%)
HSVhsv(60, 64%, 89%)
CMYKcmyk(0%, 0.4%, 63.9%, 11%)
CIE-LABlab(87.65, -16.89, 67.79)
CIE-LCHlch(87.65, 69.86, 103.99°)
OKLaboklab(88.77% -0.0524 0.1531)
OKLCHoklch(88.77% 0.162 108.9)
XYZxyz(60.3999, 71.3346, 18.5683)
Luminance0.7133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3E252 #5253E3
analogous
#E39952 #E3E252 #9BE352
triadic
#E3E252 #52E3E2 #E252E3
tetradic
#E3E252 #52E399 #5253E3 #E3529B
square
#E3E252 #52E399 #5253E3 #E3529B
split-complementary
#E3E252 #529BE3 #9952E3
monochromatic
#A1A01A #D5D423 #E3E252 #ECEB87 #F4F4BB

Accessibility & contrast

On white

1.38
#E3E252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#E3E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3E252
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3E252#FFFFFF#000000##000000
##E3E2521.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93F
Deuteranopia (green-blind)
#F6DE5B
Tritanopia (blue-blind)
#F2D4C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e3e252;
/* rgb */ color: rgb(227, 226, 82);
/* oklch */ color: oklch(88.8% 0.162 108.9);
Tailwind
colors: {
  custom: {
    50: '#efea8a',
    500: '#e3e252',
    950: '#000000',
  },
}
SCSS
$custom: #e3e252;
$custom-light: #efea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e3e252",
  "rgb": {
    "r": 227,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 59.586,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.88769,
    "c": 0.16181,
    "h": 108.9
  },
  "luminance": 0.71333
}

Semantic roles & 50–950 ramp

primary
#E3E252
secondary
#3637A3
accent
#13D411
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E3E252

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

Preview Lab → · Contrast checker → · Palette generator →

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