#E6D958#E6D958

#E6D958 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.2% C 0.148 H 103.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E6D958
RGBrgb(230, 217, 88)
HSLhsl(55, 74%, 62%)
HSVhsv(55, 62%, 90%)
CMYKcmyk(0%, 5.7%, 61.7%, 9.8%)
CIE-LABlab(85.58, -10.83, 63.24)
CIE-LCHlch(85.58, 64.16, 99.72°)
OKLaboklab(87.2% -0.0348 0.1442)
OKLCHoklch(87.2% 0.148 103.6)
XYZxyz(59.2096, 67.1555, 19.0740)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D958 #5865E6
analogous
#E69258 #E6D958 #ACE658
triadic
#E6D958 #58E6D9 #D958E6
tetradic
#E6D958 #58E692 #5865E6 #E658AC
square
#E6D958 #58E692 #5865E6 #E658AC
split-complementary
#E6D958 #58ACE6 #9258E6
monochromatic
#AA9D19 #DECD23 #E6D958 #EEE58D #F6F1C2

Accessibility & contrast

On white

1.46
#E6D958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#E6D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D958
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D958#FFFFFF#000000##000000
##E6D9581.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD249
Deuteranopia (green-blind)
#EFD95F
Tritanopia (blue-blind)
#F6CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d958;
/* rgb */ color: rgb(230, 217, 88);
/* oklch */ color: oklch(87.2% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#f1e48c',
    500: '#e6d958',
    950: '#000000',
  },
}
SCSS
$custom: #e6d958;
$custom-light: #f1e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d958",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 54.507,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87199,
    "c": 0.14838,
    "h": 103.6
  },
  "luminance": 0.67153
}

Semantic roles & 50–950 ramp

primary
#E6D958
secondary
#3741AC
accent
#22D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D958

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

Preview Lab → · Contrast checker → · Palette generator →

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