#E7E372#E7E372

#E7E372 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.6% C 0.136 H 107.0°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#E7E372
RGBrgb(231, 227, 114)
HSLhsl(58, 71%, 68%)
HSVhsv(58, 51%, 91%)
CMYKcmyk(0%, 1.7%, 50.6%, 9.4%)
CIE-LABlab(88.52, -13.48, 55.03)
CIE-LCHlch(88.52, 56.66, 103.77°)
OKLaboklab(89.63% -0.0396 0.1296)
OKLCHoklch(89.63% 0.136 107)
XYZxyz(63.4630, 73.1437, 26.6914)
Luminance0.7314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E372 #7276E7
analogous
#E7A972 #E7E372 #B0E772
triadic
#E7E372 #72E7E3 #E372E7
tetradic
#E7E372 #72E7A9 #7276E7 #E772B0
square
#E7E372 #72E7A9 #7276E7 #E772B0
split-complementary
#E7E372 #72B0E7 #A972E7
monochromatic
#BEB920 #DED93E #E7E372 #F0EDA6 #F9F8DB

Accessibility & contrast

On white

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

On black

15.63
#E7E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E372
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E372#FFFFFF#000000##000000
##E7E3721.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC67
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#F5D7C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e372;
/* rgb */ color: rgb(231, 227, 114);
/* oklch */ color: oklch(89.6% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#f1eb9d',
    500: '#e7e372',
    950: '#000000',
  },
}
SCSS
$custom: #e7e372;
$custom-light: #f1eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e372",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 57.949,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89632,
    "c": 0.13555,
    "h": 107
  },
  "luminance": 0.73142
}

Semantic roles & 50–950 ramp

primary
#E7E372
secondary
#4044BD
accent
#19D313
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E372

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

Preview Lab → · Contrast checker → · Palette generator →

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