#E6D157#E6D157

#E6D157 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.142 H 99.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#E6D157
RGBrgb(230, 209, 87)
HSLhsl(51, 74%, 62%)
HSVhsv(51, 62%, 90%)
CMYKcmyk(0%, 9.1%, 62.2%, 9.8%)
CIE-LABlab(83.50, -6.86, 61.41)
CIE-LCHlch(83.50, 61.79, 96.37°)
OKLaboklab(85.55% -0.0236 0.1402)
OKLCHoklch(85.55% 0.142 99.5)
XYZxyz(57.1562, 63.1145, 18.1866)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D157 #576CE6
analogous
#E68A57 #E6D157 #B3E657
triadic
#E6D157 #57E6D1 #D157E6
tetradic
#E6D157 #57E68A #576CE6 #E657B3
square
#E6D157 #57E68A #576CE6 #E657B3
split-complementary
#E6D157 #57B3E6 #8A57E6
monochromatic
#A99419 #DEC222 #E6D157 #EEE08C #F6EEC2

Accessibility & contrast

On white

1.54
#E6D157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#E6D157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D157
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D157#FFFFFF#000000##000000
##E6D1571.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E9D45D
Tritanopia (blue-blind)
#F7C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e6d157;
/* rgb */ color: rgb(230, 209, 87);
/* oklch */ color: oklch(85.5% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#f1de8b',
    500: '#e6d157',
    950: '#000000',
  },
}
SCSS
$custom: #e6d157;
$custom-light: #f1de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d157",
  "rgb": {
    "r": 230,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 51.189,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85545,
    "c": 0.1422,
    "h": 99.5
  },
  "luminance": 0.63112
}

Semantic roles & 50–950 ramp

primary
#E6D157
secondary
#3647AB
accent
#2CD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D157

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

Preview Lab → · Contrast checker → · Palette generator →

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