#E7E752#E7E752

#E7E752 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.166 H 109.3°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#E7E752
RGBrgb(231, 231, 82)
HSLhsl(60, 76%, 61%)
HSVhsv(60, 65%, 91%)
CMYKcmyk(0%, 0%, 64.5%, 9.4%)
CIE-LABlab(89.28, -17.70, 69.58)
CIE-LCHlch(89.28, 71.79, 104.27°)
OKLaboklab(90.15% -0.0549 0.1567)
OKLCHoklch(90.15% 0.166 109.3)
XYZxyz(63.0560, 74.7517, 19.0879)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E752 #5252E7
analogous
#E79D52 #E7E752 #9DE752
triadic
#E7E752 #52E7E7 #E752E7
tetradic
#E7E752 #52E79D #5252E7 #E7529D
square
#E7E752 #52E79D #5252E7 #E7529D
split-complementary
#E7E752 #529DE7 #9D52E7
monochromatic
#A7A717 #DDDD1F #E7E752 #EEEE88 #F6F6BD

Accessibility & contrast

On white

1.32
#E7E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#E7E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E752
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E752#FFFFFF#000000##000000
##E7E7521.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3D
Deuteranopia (green-blind)
#FBE35C
Tritanopia (blue-blind)
#F7D9C9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e752;
/* rgb */ color: rgb(231, 231, 82);
/* oklch */ color: oklch(90.1% 0.166 109.3);
Tailwind
colors: {
  custom: {
    50: '#f2ee8a',
    500: '#e7e752',
    950: '#000000',
  },
}
SCSS
$custom: #e7e752;
$custom-light: #f2ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e752",
  "rgb": {
    "r": 231,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.90146,
    "c": 0.16609,
    "h": 109.3
  },
  "luminance": 0.7475
}

Semantic roles & 50–950 ramp

primary
#E7E752
secondary
#3434A9
accent
#0ED80E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E752

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

Preview Lab → · Contrast checker → · Palette generator →

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