#E7D672#E7D672

#E7D672 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.123 H 99.8°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E7D672
RGBrgb(231, 214, 114)
HSLhsl(51, 71%, 68%)
HSVhsv(51, 51%, 91%)
CMYKcmyk(0%, 7.4%, 50.6%, 9.4%)
CIE-LABlab(85.15, -6.97, 51.03)
CIE-LCHlch(85.15, 51.51, 97.78°)
OKLaboklab(86.96% -0.021 0.1209)
OKLCHoklch(86.96% 0.123 99.8)
XYZxyz(60.0407, 66.2992, 25.5507)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D672 #7283E7
analogous
#E79B72 #E7D672 #BDE772
triadic
#E7D672 #72E7D6 #D672E7
tetradic
#E7D672 #72E79B #7283E7 #E772BD
square
#E7D672 #72E79B #7283E7 #E772BD
split-complementary
#E7D672 #72BDE7 #9B72E7
monochromatic
#BEA720 #DEC73E #E7D672 #F0E5A6 #F9F4DB

Accessibility & contrast

On white

1.47
#E7D672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E7D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D672
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D672#FFFFFF#000000##000000
##E7D6721.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D169
Deuteranopia (green-blind)
#EBD876
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d672;
/* rgb */ color: rgb(231, 214, 114);
/* oklch */ color: oklch(87.0% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#f1e29d',
    500: '#e7d672',
    950: '#000000',
  },
}
SCSS
$custom: #e7d672;
$custom-light: #f1e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d672",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 51.282,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86958,
    "c": 0.12271,
    "h": 99.8
  },
  "luminance": 0.66297
}

Semantic roles & 50–950 ramp

primary
#E7D672
secondary
#4052BD
accent
#2FD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D672

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

Preview Lab → · Contrast checker → · Palette generator →

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