#E6CC5F#E6CC5F

#E6CC5F is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.6% C 0.132 H 96.0°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#E6CC5F
RGBrgb(230, 204, 95)
HSLhsl(48, 73%, 64%)
HSVhsv(48, 59%, 90%)
CMYKcmyk(0%, 11.3%, 58.7%, 9.8%)
CIE-LABlab(82.29, -3.77, 56.54)
CIE-LCHlch(82.29, 56.66, 93.82°)
OKLaboklab(84.61% -0.0138 0.1309)
OKLCHoklch(84.61% 0.132 96)
XYZxyz(56.2939, 60.8375, 19.6019)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC5F #5F79E6
analogous
#E6885F #E6CC5F #BDE65F
triadic
#E6CC5F #5FE6CC #CC5FE6
tetradic
#E6CC5F #5FE688 #5F79E6 #E65FBD
square
#E6CC5F #5FE688 #5F79E6 #E65FBD
split-complementary
#E6CC5F #5FBDE6 #885FE6
monochromatic
#AF931B #DEBB2A #E6CC5F #EEDD94 #F7EEC9

Accessibility & contrast

On white

1.59
#E6CC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#E6CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC5F
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC5F#FFFFFF#000000##000000
##E6CC5F1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC854
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#F7BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc5f;
/* rgb */ color: rgb(230, 204, 95);
/* oklch */ color: oklch(84.6% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#f1db90',
    500: '#e6cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc5f;
$custom-light: #f1db90;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc5f",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 48.444,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84609,
    "c": 0.13161,
    "h": 96
  },
  "luminance": 0.60835
}

Semantic roles & 50–950 ramp

primary
#E6CC5F
secondary
#3950B0
accent
#36D510
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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