#E7D66B#E7D66B

#E7D66B is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.129 H 100.4°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E7D66B
RGBrgb(231, 214, 107)
HSLhsl(52, 72%, 66%)
HSVhsv(52, 54%, 91%)
CMYKcmyk(0%, 7.4%, 53.7%, 9.4%)
CIE-LABlab(85.07, -7.55, 54.24)
CIE-LCHlch(85.07, 54.76, 97.92°)
OKLaboklab(86.87% -0.0234 0.1272)
OKLCHoklch(86.87% 0.129 100.4)
XYZxyz(59.6574, 66.1458, 23.5320)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D66B #6B7CE7
analogous
#E7986B #E7D66B #BAE76B
triadic
#E7D66B #6BE7D6 #D66BE7
tetradic
#E7D66B #6BE798 #6B7CE7 #E76BBA
square
#E7D66B #6BE798 #6B7CE7 #E76BBA
split-complementary
#E7D66B #6BBAE7 #986BE7
monochromatic
#BAA41E #DEC736 #E7D66B #F0E5A0 #F8F3D4

Accessibility & contrast

On white

1.48
#E7D66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E7D66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D66B
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D66B#FFFFFF#000000##000000
##E7D66B1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D161
Deuteranopia (green-blind)
#ECD770
Tritanopia (blue-blind)
#F6C9BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d66b;
/* rgb */ color: rgb(231, 214, 107);
/* oklch */ color: oklch(86.9% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#f1e298',
    500: '#e7d66b',
    950: '#000000',
  },
}
SCSS
$custom: #e7d66b;
$custom-light: #f1e298;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d66b",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 107
  },
  "hsl": {
    "h": 51.774,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86871,
    "c": 0.12936,
    "h": 100.4
  },
  "luminance": 0.66144
}

Semantic roles & 50–950 ramp

primary
#E7D66B
secondary
#3D4EB9
accent
#2CD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D66B

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

Preview Lab → · Contrast checker → · Palette generator →

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