#E7E672#E7E672

#E7E672 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.3% C 0.139 H 108.4°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#E7E672
RGBrgb(231, 230, 114)
HSLhsl(59, 71%, 68%)
HSVhsv(59, 51%, 91%)
CMYKcmyk(0%, 0.4%, 50.6%, 9.4%)
CIE-LABlab(89.30, -14.97, 55.95)
CIE-LCHlch(89.30, 57.92, 104.98°)
OKLaboklab(90.26% -0.0439 0.1316)
OKLCHoklch(90.26% 0.139 108.4)
XYZxyz(64.2906, 74.7991, 26.9673)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E672 #7273E7
analogous
#E7AB72 #E7E672 #AEE772
triadic
#E7E672 #72E7E6 #E672E7
tetradic
#E7E672 #72E7AB #7273E7 #E772AE
square
#E7E672 #72E7AB #7273E7 #E772AE
split-complementary
#E7E672 #72AEE7 #AB72E7
monochromatic
#BEBD20 #DEDD3E #E7E672 #F0EFA6 #F9F9DB

Accessibility & contrast

On white

1.32
#E7E672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#E7E672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E672
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E672#FFFFFF#000000##000000
##E7E6721.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE67
Deuteranopia (green-blind)
#F8E278
Tritanopia (blue-blind)
#F5DACC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e7e672;
/* rgb */ color: rgb(231, 230, 114);
/* oklch */ color: oklch(90.3% 0.139 108.4);
Tailwind
colors: {
  custom: {
    50: '#f1ed9d',
    500: '#e7e672',
    950: '#000000',
  },
}
SCSS
$custom: #e7e672;
$custom-light: #f1ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e672",
  "rgb": {
    "r": 231,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 59.487,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90255,
    "c": 0.13874,
    "h": 108.4
  },
  "luminance": 0.74797
}

Semantic roles & 50–950 ramp

primary
#E7E672
secondary
#4041BD
accent
#14D313
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7E672

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

Preview Lab → · Contrast checker → · Palette generator →

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