#E6CC4F#E6CC4F

#E6CC4F is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.144 H 97.4°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E6CC4F
RGBrgb(230, 204, 79)
HSLhsl(50, 75%, 61%)
HSVhsv(50, 66%, 90%)
CMYKcmyk(0%, 11.3%, 65.7%, 9.8%)
CIE-LABlab(82.15, -4.80, 63.34)
CIE-LCHlch(82.15, 63.52, 94.33°)
OKLaboklab(84.45% -0.0186 0.1431)
OKLCHoklch(84.45% 0.144 97.4)
XYZxyz(55.6398, 60.5759, 16.1572)
Luminance0.6057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC4F #4F69E6
analogous
#E6804F #E6CC4F #B4E64F
triadic
#E6CC4F #4FE6CC #CC4FE6
tetradic
#E6CC4F #4FE680 #4F69E6 #E64FB4
square
#E6CC4F #4FE680 #4F69E6 #E64FB4
split-complementary
#E6CC4F #4FB4E6 #804FE6
monochromatic
#A38B17 #D9B91F #E6CC4F #EEDC85 #F5EBBA

Accessibility & contrast

On white

1.60
#E6CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#E6CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC4F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC4F#FFFFFF#000000##000000
##E6CC4F1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#F7BDB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e6cc4f;
/* rgb */ color: rgb(230, 204, 79);
/* oklch */ color: oklch(84.5% 0.144 97.4);
Tailwind
colors: {
  custom: {
    50: '#f1db86',
    500: '#e6cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc4f;
$custom-light: #f1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc4f",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 49.669,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84452,
    "c": 0.14433,
    "h": 97.4
  },
  "luminance": 0.60573
}

Semantic roles & 50–950 ramp

primary
#E6CC4F
secondary
#3347A6
accent
#31D70E
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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