#E7CD66#E7CD66

#E7CD66 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.126 H 95.4°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#E7CD66
RGBrgb(231, 205, 102)
HSLhsl(48, 73%, 65%)
HSVhsv(48, 56%, 91%)
CMYKcmyk(0%, 11.3%, 55.8%, 9.4%)
CIE-LABlab(82.71, -3.36, 53.82)
CIE-LCHlch(82.71, 53.92, 93.57°)
OKLaboklab(84.98% -0.0119 0.1258)
OKLCHoklch(84.98% 0.126 95.4)
XYZxyz(57.1868, 61.6135, 21.4481)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CD66 #6680E7
analogous
#E78C66 #E7CD66 #C0E766
triadic
#E7CD66 #66E7CD #CD66E7
tetradic
#E7CD66 #66E78C #6680E7 #E766C0
square
#E7CD66 #66E78C #6680E7 #E766C0
split-complementary
#E7CD66 #66C0E7 #8C66E7
monochromatic
#B6971D #DFBC31 #E7CD66 #EFDE9B #F8F0D0

Accessibility & contrast

On white

1.58
#E7CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#E7CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CD66
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CD66#FFFFFF#000000##000000
##E7CD661.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#E6D16A
Tritanopia (blue-blind)
#F7C0B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e7cd66;
/* rgb */ color: rgb(231, 205, 102);
/* oklch */ color: oklch(85.0% 0.126 95.4);
Tailwind
colors: {
  custom: {
    50: '#f1dc94',
    500: '#e7cd66',
    950: '#000000',
  },
}
SCSS
$custom: #e7cd66;
$custom-light: #f1dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cd66",
  "rgb": {
    "r": 231,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 47.907,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84982,
    "c": 0.12636,
    "h": 95.4
  },
  "luminance": 0.61611
}

Semantic roles & 50–950 ramp

primary
#E7CD66
secondary
#3B54B6
accent
#38D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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