#E6D158#E6D158

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

Color values

HEX#E6D158
RGBrgb(230, 209, 88)
HSLhsl(51, 74%, 62%)
HSVhsv(51, 62%, 90%)
CMYKcmyk(0%, 9.1%, 61.7%, 9.8%)
CIE-LABlab(83.51, -6.79, 60.99)
CIE-LCHlch(83.51, 61.37, 96.36°)
OKLaboklab(85.56% -0.0233 0.1395)
OKLCHoklch(85.56% 0.141 99.5)
XYZxyz(57.1974, 63.1310, 18.4033)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D158 #586DE6
analogous
#E68A58 #E6D158 #B4E658
triadic
#E6D158 #58E6D1 #D158E6
tetradic
#E6D158 #58E68A #586DE6 #E658B4
square
#E6D158 #58E68A #586DE6 #E658B4
split-complementary
#E6D158 #58B4E6 #8A58E6
monochromatic
#AA9519 #DEC223 #E6D158 #EEE08D #F6EEC2

Accessibility & contrast

On white

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

On black

13.63
#E6D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D158
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D158#FFFFFF#000000##000000
##E6D1581.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6d158;
/* rgb */ color: rgb(230, 209, 88);
/* oklch */ color: oklch(85.6% 0.141 99.5);
Tailwind
colors: {
  custom: {
    50: '#f1de8c',
    500: '#e6d158',
    950: '#000000',
  },
}
SCSS
$custom: #e6d158;
$custom-light: #f1de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d158",
  "rgb": {
    "r": 230,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 51.127,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85555,
    "c": 0.14141,
    "h": 99.5
  },
  "luminance": 0.63129
}

Semantic roles & 50–950 ramp

primary
#E6D158
secondary
#3748AC
accent
#2DD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D158

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

Preview Lab → · Contrast checker → · Palette generator →

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