#E7CD6F#E7CD6F

#E7CD6F is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.118 H 94.3°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#E7CD6F
RGBrgb(231, 205, 111)
HSLhsl(47, 71%, 67%)
HSVhsv(47, 52%, 91%)
CMYKcmyk(0%, 11.3%, 51.9%, 9.4%)
CIE-LABlab(82.81, -2.63, 49.67)
CIE-LCHlch(82.81, 49.74, 93.04°)
OKLaboklab(85.09% -0.0088 0.1176)
OKLCHoklch(85.09% 0.118 94.3)
XYZxyz(57.6576, 61.8018, 23.9277)
Luminance0.6180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD6F #6F89E7
analogous
#E7916F #E7CD6F #C5E76F
triadic
#E7CD6F #6FE7CD #CD6FE7
tetradic
#E7CD6F #6FE791 #6F89E7 #E76FC5
square
#E7CD6F #6FE791 #6F89E7 #E76FC5
split-complementary
#E7CD6F #6FC5E7 #916FE7
monochromatic
#BC9A1F #DEBB3B #E7CD6F #F0DFA3 #F8F1D8

Accessibility & contrast

On white

1.57
#E7CD6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#E7CD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD6F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD6F#FFFFFF#000000##000000
##E7CD6F1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC967
Deuteranopia (green-blind)
#E5D273
Tritanopia (blue-blind)
#F7C0B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd6f;
/* rgb */ color: rgb(231, 205, 111);
/* oklch */ color: oklch(85.1% 0.118 94.3);
Tailwind
colors: {
  custom: {
    50: '#f1dc9a',
    500: '#e7cd6f',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd6f;
$custom-light: #f1dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd6f",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 47,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85094,
    "c": 0.11797,
    "h": 94.3
  },
  "luminance": 0.61799
}

Semantic roles & 50–950 ramp

primary
#E7CD6F
secondary
#3F5ABC
accent
#3CD312
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7CD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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