#E7E652#E7E652

#E7E652 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.9% C 0.165 H 108.9°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#E7E652
RGBrgb(231, 230, 82)
HSLhsl(60, 76%, 61%)
HSVhsv(60, 65%, 91%)
CMYKcmyk(0%, 0.4%, 64.5%, 9.4%)
CIE-LABlab(89.01, -17.21, 69.31)
CIE-LCHlch(89.01, 71.41, 103.95°)
OKLaboklab(89.94% -0.0536 0.1562)
OKLCHoklch(89.94% 0.165 108.9)
XYZxyz(62.7769, 74.1936, 18.9949)
Luminance0.7419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E652 #5253E7
analogous
#E79C52 #E7E652 #9EE752
triadic
#E7E652 #52E7E6 #E652E7
tetradic
#E7E652 #52E79C #5253E7 #E7529E
square
#E7E652 #52E79C #5253E7 #E7529E
split-complementary
#E7E652 #529EE7 #9C52E7
monochromatic
#A7A617 #DDDC1F #E7E652 #EEEE88 #F6F6BD

Accessibility & contrast

On white

1.33
#E7E652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#E7E652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E652
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E652#FFFFFF#000000##000000
##E7E6521.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3E
Deuteranopia (green-blind)
#FAE25C
Tritanopia (blue-blind)
#F7D8C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e652;
/* rgb */ color: rgb(231, 230, 82);
/* oklch */ color: oklch(89.9% 0.165 108.9);
Tailwind
colors: {
  custom: {
    50: '#f2ed8a',
    500: '#e7e652',
    950: '#000000',
  },
}
SCSS
$custom: #e7e652;
$custom-light: #f2ed8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e652",
  "rgb": {
    "r": 231,
    "g": 230,
    "b": 82
  },
  "hsl": {
    "h": 59.597,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89937,
    "c": 0.1651,
    "h": 108.9
  },
  "luminance": 0.74192
}

Semantic roles & 50–950 ramp

primary
#E7E652
secondary
#3435A9
accent
#0FD80E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E652

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

Preview Lab → · Contrast checker → · Palette generator →

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