#E6D954#E6D954

#E6D954 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.151 H 103.7°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E6D954
RGBrgb(230, 217, 84)
HSLhsl(55, 74%, 62%)
HSVhsv(55, 63%, 90%)
CMYKcmyk(0%, 5.7%, 63.5%, 9.8%)
CIE-LABlab(85.55, -11.08, 64.86)
CIE-LCHlch(85.55, 65.80, 99.69°)
OKLaboklab(87.16% -0.0359 0.1471)
OKLCHoklch(87.16% 0.151 103.7)
XYZxyz(59.0485, 67.0910, 18.2253)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D954 #5461E6
analogous
#E69054 #E6D954 #AAE654
triadic
#E6D954 #54E6D9 #D954E6
tetradic
#E6D954 #54E690 #5461E6 #E654AA
square
#E6D954 #54E690 #5461E6 #E654AA
split-complementary
#E6D954 #54AAE6 #9054E6
monochromatic
#A79A18 #DDCC20 #E6D954 #EEE589 #F6F1BF

Accessibility & contrast

On white

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

On black

14.42
#E6D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D954
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D954#FFFFFF#000000##000000
##E6D9541.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD243
Deuteranopia (green-blind)
#F0D95C
Tritanopia (blue-blind)
#F6CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d954;
/* rgb */ color: rgb(230, 217, 84);
/* oklch */ color: oklch(87.2% 0.151 103.7);
Tailwind
colors: {
  custom: {
    50: '#f1e48a',
    500: '#e6d954',
    950: '#000000',
  },
}
SCSS
$custom: #e6d954;
$custom-light: #f1e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d954",
  "rgb": {
    "r": 230,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 54.658,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87162,
    "c": 0.15144,
    "h": 103.7
  },
  "luminance": 0.67089
}

Semantic roles & 50–950 ramp

primary
#E6D954
secondary
#353FA9
accent
#21D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E6D954

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

Preview Lab → · Contrast checker → · Palette generator →

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