#E7E552#E7E552

#E7E552 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.7% C 0.164 H 108.5°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#E7E552
RGBrgb(231, 229, 82)
HSLhsl(59, 76%, 61%)
HSVhsv(59, 65%, 91%)
CMYKcmyk(0%, 0.9%, 64.5%, 9.4%)
CIE-LABlab(88.75, -16.72, 69.04)
CIE-LCHlch(88.75, 71.03, 103.62°)
OKLaboklab(89.73% -0.0522 0.1556)
OKLCHoklch(89.73% 0.164 108.5)
XYZxyz(62.4994, 73.6386, 18.9024)
Luminance0.7364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E552 #5254E7
analogous
#E79B52 #E7E552 #9FE752
triadic
#E7E552 #52E7E5 #E552E7
tetradic
#E7E552 #52E79B #5254E7 #E7529F
square
#E7E552 #52E79B #5254E7 #E7529F
split-complementary
#E7E552 #529FE7 #9B52E7
monochromatic
#A7A517 #DDDB1F #E7E552 #EEED88 #F6F5BD

Accessibility & contrast

On white

1.34
#E7E552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#E7E552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E552
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E552#FFFFFF#000000##000000
##E7E5521.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3E
Deuteranopia (green-blind)
#F9E15C
Tritanopia (blue-blind)
#F7D7C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e552;
/* rgb */ color: rgb(231, 229, 82);
/* oklch */ color: oklch(89.7% 0.164 108.5);
Tailwind
colors: {
  custom: {
    50: '#f2ed8a',
    500: '#e7e552',
    950: '#000000',
  },
}
SCSS
$custom: #e7e552;
$custom-light: #f2ed8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e552",
  "rgb": {
    "r": 231,
    "g": 229,
    "b": 82
  },
  "hsl": {
    "h": 59.195,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89727,
    "c": 0.16412,
    "h": 108.5
  },
  "luminance": 0.73637
}

Semantic roles & 50–950 ramp

primary
#E7E552
secondary
#3436A9
accent
#10D80E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E552

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

Preview Lab → · Contrast checker → · Palette generator →

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