#E7E072#E7E072

#E7E072 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.0% C 0.132 H 105.5°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#E7E072
RGBrgb(231, 224, 114)
HSLhsl(56, 71%, 68%)
HSVhsv(56, 51%, 91%)
CMYKcmyk(0%, 3%, 50.6%, 9.4%)
CIE-LABlab(87.74, -12.00, 54.11)
CIE-LCHlch(87.74, 55.42, 102.50°)
OKLaboklab(89.01% -0.0354 0.1276)
OKLCHoklch(89.01% 0.132 105.5)
XYZxyz(62.6496, 71.5170, 26.4203)
Luminance0.7151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E072 #7279E7
analogous
#E7A572 #E7E072 #B4E772
triadic
#E7E072 #72E7E0 #E072E7
tetradic
#E7E072 #72E7A5 #7279E7 #E772B4
square
#E7E072 #72E7A5 #7279E7 #E772B4
split-complementary
#E7E072 #72B4E7 #A572E7
monochromatic
#BEB520 #DED53E #E7E072 #F0EBA6 #F9F7DB

Accessibility & contrast

On white

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

On black

15.30
#E7E072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E072
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E072#FFFFFF#000000##000000
##E7E0721.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D968
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#F5D4C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7e072;
/* rgb */ color: rgb(231, 224, 114);
/* oklch */ color: oklch(89.0% 0.132 105.5);
Tailwind
colors: {
  custom: {
    50: '#f1e99d',
    500: '#e7e072',
    950: '#000000',
  },
}
SCSS
$custom: #e7e072;
$custom-light: #f1e99d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e072",
  "rgb": {
    "r": 231,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 56.41,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89011,
    "c": 0.13244,
    "h": 105.5
  },
  "luminance": 0.71515
}

Semantic roles & 50–950 ramp

primary
#E7E072
secondary
#4047BD
accent
#1ED313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E7E072

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

Preview Lab → · Contrast checker → · Palette generator →

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