#E7E452#E7E452

#E7E452 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.5% C 0.163 H 108.1°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#E7E452
RGBrgb(231, 228, 82)
HSLhsl(59, 76%, 61%)
HSVhsv(59, 65%, 91%)
CMYKcmyk(0%, 1.3%, 64.5%, 9.4%)
CIE-LABlab(88.49, -16.23, 68.76)
CIE-LCHlch(88.49, 70.65, 103.28°)
OKLaboklab(89.52% -0.0508 0.155)
OKLCHoklch(89.52% 0.163 108.1)
XYZxyz(62.2235, 73.0868, 18.8105)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E452 #5255E7
analogous
#E79A52 #E7E452 #A0E752
triadic
#E7E452 #52E7E4 #E452E7
tetradic
#E7E452 #52E79A #5255E7 #E752A0
square
#E7E452 #52E79A #5255E7 #E752A0
split-complementary
#E7E452 #52A0E7 #9A52E7
monochromatic
#A7A417 #DDD91F #E7E452 #EEEC88 #F6F5BD

Accessibility & contrast

On white

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

On black

15.62
#E7E452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E452
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E452#FFFFFF#000000##000000
##E7E4521.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F8E15B
Tritanopia (blue-blind)
#F7D6C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e452;
/* rgb */ color: rgb(231, 228, 82);
/* oklch */ color: oklch(89.5% 0.163 108.1);
Tailwind
colors: {
  custom: {
    50: '#f2ec8a',
    500: '#e7e452',
    950: '#000000',
  },
}
SCSS
$custom: #e7e452;
$custom-light: #f2ec8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e452",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 82
  },
  "hsl": {
    "h": 58.792,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89518,
    "c": 0.16314,
    "h": 108.1
  },
  "luminance": 0.73085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7E452

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

Preview Lab → · Contrast checker → · Palette generator →

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