#E4E952#E4E952

#E4E952 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.3% C 0.169 H 111.2°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#E4E952
RGBrgb(228, 233, 82)
HSLhsl(62, 77%, 62%)
HSVhsv(62, 65%, 91%)
CMYKcmyk(2.1%, 0%, 64.8%, 8.6%)
CIE-LABlab(89.57, -19.89, 69.81)
CIE-LCHlch(89.57, 72.59, 105.90°)
OKLaboklab(90.33% -0.0609 0.1573)
OKLCHoklch(90.33% 0.169 111.2)
XYZxyz(62.6587, 75.3826, 19.2306)
Luminance0.7538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E952 #5752E9
analogous
#E9A352 #E4E952 #99E952
triadic
#E4E952 #52E4E9 #E952E4
tetradic
#E4E952 #52E9A3 #5752E9 #E95299
square
#E4E952 #52E9A3 #5752E9 #E95299
split-complementary
#E4E952 #5299E9 #A352E9
monochromatic
#A6AB16 #DBE11D #E4E952 #ECF088 #F5F7BF

Accessibility & contrast

On white

1.31
#E4E952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#E4E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E952
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E952#FFFFFF#000000##000000
##E4E9521.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3D
Deuteranopia (green-blind)
#FBE35C
Tritanopia (blue-blind)
#F3DBCA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e952;
/* rgb */ color: rgb(228, 233, 82);
/* oklch */ color: oklch(90.3% 0.169 111.2);
Tailwind
colors: {
  custom: {
    50: '#f0ef8a',
    500: '#e4e952',
    950: '#000000',
  },
}
SCSS
$custom: #e4e952;
$custom-light: #f0ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e952",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 61.987,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90325,
    "c": 0.1687,
    "h": 111.2
  },
  "luminance": 0.75381
}

Semantic roles & 50–950 ramp

primary
#E4E952
secondary
#3733AC
accent
#0CDA13
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E4E952

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

Preview Lab → · Contrast checker → · Palette generator →

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