#E7D166#E7D166

#E7D166 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.130 H 97.9°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#E7D166
RGBrgb(231, 209, 102)
HSLhsl(50, 73%, 65%)
HSVhsv(50, 56%, 91%)
CMYKcmyk(0%, 9.5%, 55.8%, 9.4%)
CIE-LABlab(83.73, -5.40, 55.00)
CIE-LCHlch(83.73, 55.26, 95.61°)
OKLaboklab(85.79% -0.0177 0.1284)
OKLCHoklch(85.79% 0.13 97.9)
XYZxyz(58.1559, 63.5516, 21.7712)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D166 #667CE7
analogous
#E79066 #E7D166 #BDE766
triadic
#E7D166 #66E7D1 #D166E7
tetradic
#E7D166 #66E790 #667CE7 #E766BD
square
#E7D166 #66E790 #667CE7 #E766BD
split-complementary
#E7D166 #66BDE7 #9066E7
monochromatic
#B69C1D #DFC131 #E7D166 #EFE19B #F8F1D0

Accessibility & contrast

On white

1.53
#E7D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#E7D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D166
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D166#FFFFFF#000000##000000
##E7D1661.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F7C4B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d166;
/* rgb */ color: rgb(231, 209, 102);
/* oklch */ color: oklch(85.8% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#f1de95',
    500: '#e7d166',
    950: '#000000',
  },
}
SCSS
$custom: #e7d166;
$custom-light: #f1de95;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d166",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 49.767,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85793,
    "c": 0.12958,
    "h": 97.9
  },
  "luminance": 0.63549
}

Semantic roles & 50–950 ramp

primary
#E7D166
secondary
#3B50B6
accent
#32D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D166

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

Preview Lab → · Contrast checker → · Palette generator →

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