#E6C954#E6C954

#E6C954 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.9% C 0.138 H 95.3°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#E6C954
RGBrgb(230, 201, 84)
HSLhsl(48, 74%, 62%)
HSVhsv(48, 63%, 90%)
CMYKcmyk(0%, 12.6%, 63.5%, 9.8%)
CIE-LABlab(81.42, -2.96, 60.45)
CIE-LCHlch(81.42, 60.52, 92.80°)
OKLaboklab(83.89% -0.0128 0.1378)
OKLCHoklch(83.89% 0.138 95.3)
XYZxyz(55.1225, 59.2391, 16.9166)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C954 #5471E6
analogous
#E68054 #E6C954 #BAE654
triadic
#E6C954 #54E6C9 #C954E6
tetradic
#E6C954 #54E680 #5471E6 #E654BA
square
#E6C954 #54E680 #5471E6 #E654BA
split-complementary
#E6C954 #54BAE6 #8054E6
monochromatic
#A78B18 #DDB720 #E6C954 #EEDA89 #F6EBBF

Accessibility & contrast

On white

1.63
#E6C954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#E6C954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C954
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C954#FFFFFF#000000##000000
##E6C9541.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#E4CE5A
Tritanopia (blue-blind)
#F7BBB0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e6c954;
/* rgb */ color: rgb(230, 201, 84);
/* oklch */ color: oklch(83.9% 0.138 95.3);
Tailwind
colors: {
  custom: {
    50: '#f1d989',
    500: '#e6c954',
    950: '#000000',
  },
}
SCSS
$custom: #e6c954;
$custom-light: #f1d989;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c954",
  "rgb": {
    "r": 230,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 48.082,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8389,
    "c": 0.13836,
    "h": 95.3
  },
  "luminance": 0.59236
}

Semantic roles & 50–950 ramp

primary
#E6C954
secondary
#354CA9
accent
#37D70F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6C954

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

Preview Lab → · Contrast checker → · Palette generator →

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