#E7E152#E7E152

#E7E152 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 88.9% C 0.160 H 106.9°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#E7E152
RGBrgb(231, 225, 82)
HSLhsl(58, 76%, 61%)
HSVhsv(58, 65%, 91%)
CMYKcmyk(0%, 2.6%, 64.5%, 9.4%)
CIE-LABlab(87.70, -14.76, 67.95)
CIE-LCHlch(87.70, 69.53, 102.25°)
OKLaboklab(88.89% -0.0466 0.1533)
OKLCHoklch(88.89% 0.16 106.9)
XYZxyz(61.4054, 71.4506, 18.5378)
Luminance0.7145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E152 #5258E7
analogous
#E79752 #E7E152 #A3E752
triadic
#E7E152 #52E7E1 #E152E7
tetradic
#E7E152 #52E797 #5258E7 #E752A3
square
#E7E152 #52E797 #5258E7 #E752A3
split-complementary
#E7E152 #52A3E7 #9752E7
monochromatic
#A7A217 #DDD51F #E7E152 #EEEA88 #F6F4BD

Accessibility & contrast

On white

1.37
#E7E152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#E7E152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E152
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E152#FFFFFF#000000##000000
##E7E1521.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7e152;
/* rgb */ color: rgb(231, 225, 82);
/* oklch */ color: oklch(88.9% 0.160 106.9);
Tailwind
colors: {
  custom: {
    50: '#f2ea8a',
    500: '#e7e152',
    950: '#000000',
  },
}
SCSS
$custom: #e7e152;
$custom-light: #f2ea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e152",
  "rgb": {
    "r": 231,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 57.584,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88892,
    "c": 0.16025,
    "h": 106.9
  },
  "luminance": 0.71449
}

Semantic roles & 50–950 ramp

primary
#E7E152
secondary
#3439A9
accent
#16D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E152

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

Preview Lab → · Contrast checker → · Palette generator →

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