#E7D16C#E7D16C

#E7D16C is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.124 H 97.3°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#E7D16C
RGBrgb(231, 209, 108)
HSLhsl(49, 72%, 66%)
HSVhsv(49, 53%, 91%)
CMYKcmyk(0%, 9.5%, 53.2%, 9.4%)
CIE-LABlab(83.80, -4.93, 52.27)
CIE-LCHlch(83.80, 52.50, 95.39°)
OKLaboklab(85.87% -0.0157 0.1231)
OKLCHoklch(85.87% 0.124 97.3)
XYZxyz(58.4643, 63.6750, 23.3954)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D16C #6C82E7
analogous
#E7946C #E7D16C #C0E76C
triadic
#E7D16C #6CE7D1 #D16CE7
tetradic
#E7D16C #6CE794 #6C82E7 #E76CC0
square
#E7D16C #6CE794 #6C82E7 #E76CC0
split-complementary
#E7D16C #6CC0E7 #946CE7
monochromatic
#BA9E1E #DEC137 #E7D16C #F0E1A1 #F8F2D5

Accessibility & contrast

On white

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

On black

13.73
#E7D16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D16C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D16C#FFFFFF#000000##000000
##E7D16C1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD63
Deuteranopia (green-blind)
#E8D470
Tritanopia (blue-blind)
#F7C4BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d16c;
/* rgb */ color: rgb(231, 209, 108);
/* oklch */ color: oklch(85.9% 0.124 97.3);
Tailwind
colors: {
  custom: {
    50: '#f1de99',
    500: '#e7d16c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d16c;
$custom-light: #f1de99;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d16c",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 108
  },
  "hsl": {
    "h": 49.268,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85865,
    "c": 0.12406,
    "h": 97.3
  },
  "luminance": 0.63673
}

Semantic roles & 50–950 ramp

primary
#E7D16C
secondary
#3D54BA
accent
#34D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D16C

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

Preview Lab → · Contrast checker → · Palette generator →

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