#E6CC78#E6CC78

#E6CC78 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.108 H 92.7°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E6CC78
RGBrgb(230, 204, 120)
HSLhsl(46, 69%, 69%)
HSVhsv(46, 48%, 90%)
CMYKcmyk(0%, 11.3%, 47.8%, 9.8%)
CIE-LABlab(82.58, -1.73, 44.97)
CIE-LCHlch(82.58, 45.00, 92.20°)
OKLaboklab(84.93% -0.0051 0.108)
OKLCHoklch(84.93% 0.108 92.7)
XYZxyz(57.6180, 61.3672, 26.5757)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC78 #7892E6
analogous
#E69578 #E6CC78 #C9E678
triadic
#E6CC78 #78E6CC #CC78E6
tetradic
#E6CC78 #78E695 #7892E6 #E678C9
square
#E6CC78 #78E695 #7892E6 #E678C9
split-complementary
#E6CC78 #78C9E6 #9578E6
monochromatic
#C09B24 #DCB844 #E6CC78 #F0E0AC #F9F3DF

Accessibility & contrast

On white

1.58
#E6CC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#E6CC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC78
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC78#FFFFFF#000000##000000
##E6CC781.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#E3D17B
Tritanopia (blue-blind)
#F5C0B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc78;
/* rgb */ color: rgb(230, 204, 120);
/* oklch */ color: oklch(84.9% 0.108 92.7);
Tailwind
colors: {
  custom: {
    50: '#f0dba0',
    500: '#e6cc78',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc78;
$custom-light: #f0dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc78",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 45.818,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.84926,
    "c": 0.1081,
    "h": 92.7
  },
  "luminance": 0.61365
}

Semantic roles & 50–950 ramp

primary
#E6CC78
secondary
#4561BE
accent
#41D115
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E6CC78

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

Preview Lab → · Contrast checker → · Palette generator →

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