#E7D86F#E7D86F

#E7D86F is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.127 H 101.3°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E7D86F
RGBrgb(231, 216, 111)
HSLhsl(53, 71%, 67%)
HSVhsv(53, 52%, 91%)
CMYKcmyk(0%, 6.5%, 51.9%, 9.4%)
CIE-LABlab(85.63, -8.24, 53.03)
CIE-LCHlch(85.63, 53.66, 98.83°)
OKLaboklab(87.33% -0.0249 0.125)
OKLCHoklch(87.33% 0.127 101.3)
XYZxyz(60.3820, 67.2505, 24.8358)
Luminance0.6725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D86F #6F7EE7
analogous
#E79C6F #E7D86F #BAE76F
triadic
#E7D86F #6FE7D8 #D86FE7
tetradic
#E7D86F #6FE79C #6F7EE7 #E76FBA
square
#E7D86F #6FE79C #6F7EE7 #E76FBA
split-complementary
#E7D86F #6FBAE7 #9C6FE7
monochromatic
#BCA91F #DECA3B #E7D86F #F0E6A3 #F8F4D8

Accessibility & contrast

On white

1.45
#E7D86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E7D86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D86F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D86F#FFFFFF#000000##000000
##E7D86F1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D265
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#F6CBC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d86f;
/* rgb */ color: rgb(231, 216, 111);
/* oklch */ color: oklch(87.3% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#f1e39b',
    500: '#e7d86f',
    950: '#000000',
  },
}
SCSS
$custom: #e7d86f;
$custom-light: #f1e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d86f",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 52.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87329,
    "c": 0.12744,
    "h": 101.3
  },
  "luminance": 0.67248
}

Semantic roles & 50–950 ramp

primary
#E7D86F
secondary
#3F4EBC
accent
#2AD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D86F

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

Preview Lab → · Contrast checker → · Palette generator →

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