#E7D16F#E7D16F

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

Color values

HEX#E7D16F
RGBrgb(231, 209, 111)
HSLhsl(49, 71%, 67%)
HSVhsv(49, 52%, 91%)
CMYKcmyk(0%, 9.5%, 51.9%, 9.4%)
CIE-LABlab(83.83, -4.68, 50.89)
CIE-LCHlch(83.83, 51.10, 95.26°)
OKLaboklab(85.9% -0.0147 0.1203)
OKLCHoklch(85.9% 0.121 97)
XYZxyz(58.6267, 63.7399, 24.2507)
Luminance0.6374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D16F #6F85E7
analogous
#E7956F #E7D16F #C1E76F
triadic
#E7D16F #6FE7D1 #D16FE7
tetradic
#E7D16F #6FE795 #6F85E7 #E76FC1
square
#E7D16F #6FE795 #6F85E7 #E76FC1
split-complementary
#E7D16F #6FC1E7 #956FE7
monochromatic
#BC9F1F #DEC03B #E7D16F #F0E2A3 #F8F3D8

Accessibility & contrast

On white

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

On black

13.75
#E7D16F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D16F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D16F#FFFFFF#000000##000000
##E7D16F1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d16f;
/* rgb */ color: rgb(231, 209, 111);
/* oklch */ color: oklch(85.9% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#f1de9b',
    500: '#e7d16f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d16f;
$custom-light: #f1de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d16f",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 111
  },
  "hsl": {
    "h": 49,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85903,
    "c": 0.12121,
    "h": 97
  },
  "luminance": 0.63738
}

Semantic roles & 50–950 ramp

primary
#E7D16F
secondary
#3F55BC
accent
#35D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D16F

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

Preview Lab → · Contrast checker → · Palette generator →

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