#E7DC6F#E7DC6F

#E7DC6F is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.1% C 0.131 H 103.5°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#E7DC6F
RGBrgb(231, 220, 111)
HSLhsl(55, 71%, 67%)
HSVhsv(55, 52%, 91%)
CMYKcmyk(0%, 4.8%, 51.9%, 9.4%)
CIE-LABlab(86.66, -10.25, 54.24)
CIE-LCHlch(86.66, 55.20, 100.70°)
OKLaboklab(88.15% -0.0307 0.1276)
OKLCHoklch(88.15% 0.131 103.5)
XYZxyz(61.4192, 69.3250, 25.1816)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC6F #6F7AE7
analogous
#E7A06F #E7DC6F #B6E76F
triadic
#E7DC6F #6FE7DC #DC6FE7
tetradic
#E7DC6F #6FE7A0 #6F7AE7 #E76FB6
square
#E7DC6F #6FE7A0 #6F7AE7 #E76FB6
split-complementary
#E7DC6F #6FB6E7 #A06FE7
monochromatic
#BCAE1F #DECF3B #E7DC6F #F0E9A3 #F8F6D8

Accessibility & contrast

On white

1.41
#E7DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#E7DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC6F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC6F#FFFFFF#000000##000000
##E7DC6F1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD665
Deuteranopia (green-blind)
#F0DC74
Tritanopia (blue-blind)
#F6CFC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dc6f;
/* rgb */ color: rgb(231, 220, 111);
/* oklch */ color: oklch(88.1% 0.131 103.5);
Tailwind
colors: {
  custom: {
    50: '#f1e69b',
    500: '#e7dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc6f;
$custom-light: #f1e69b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc6f",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 54.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8815,
    "c": 0.13127,
    "h": 103.5
  },
  "luminance": 0.69323
}

Semantic roles & 50–950 ramp

primary
#E7DC6F
secondary
#3F4ABC
accent
#24D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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