#E7E472#E7E472

#E7E472 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.8% C 0.137 H 107.5°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#E7E472
RGBrgb(231, 228, 114)
HSLhsl(58, 71%, 68%)
HSVhsv(58, 51%, 91%)
CMYKcmyk(0%, 1.3%, 50.6%, 9.4%)
CIE-LABlab(88.78, -13.98, 55.34)
CIE-LCHlch(88.78, 57.08, 104.18°)
OKLaboklab(89.84% -0.0411 0.1303)
OKLCHoklch(89.84% 0.137 107.5)
XYZxyz(63.7373, 73.6923, 26.7829)
Luminance0.7369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E472 #7275E7
analogous
#E7AA72 #E7E472 #AFE772
triadic
#E7E472 #72E7E4 #E472E7
tetradic
#E7E472 #72E7AA #7275E7 #E772AF
square
#E7E472 #72E7AA #7275E7 #E772AF
split-complementary
#E7E472 #72AFE7 #AA72E7
monochromatic
#BEBA20 #DEDA3E #E7E472 #F0EEA6 #F9F8DB

Accessibility & contrast

On white

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

On black

15.74
#E7E472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E472
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E472#FFFFFF#000000##000000
##E7E4721.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#F5D8CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e7e472;
/* rgb */ color: rgb(231, 228, 114);
/* oklch */ color: oklch(89.8% 0.137 107.5);
Tailwind
colors: {
  custom: {
    50: '#f1ec9d',
    500: '#e7e472',
    950: '#000000',
  },
}
SCSS
$custom: #e7e472;
$custom-light: #f1ec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e472",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 58.462,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8984,
    "c": 0.13661,
    "h": 107.5
  },
  "luminance": 0.73691
}

Semantic roles & 50–950 ramp

primary
#E7E472
secondary
#4043BD
accent
#17D313
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E472

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

Preview Lab → · Contrast checker → · Palette generator →

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