#CCC159#CCC159

#CCC159 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.126 H 103.3°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CCC159
RGBrgb(204, 193, 89)
HSLhsl(54, 53%, 57%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.4%, 56.4%, 20%)
CIE-LABlab(77.10, -9.37, 52.79)
CIE-LCHlch(77.10, 53.61, 100.07°)
OKLaboklab(79.94% -0.029 0.1227)
OKLCHoklch(79.94% 0.126 103.3)
XYZxyz(45.7765, 51.7002, 17.0171)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC159 #5964CC
analogous
#CC8859 #CCC159 #9DCC59
triadic
#CCC159 #59CCC1 #C159CC
tetradic
#CCC159 #59CC88 #5964CC #CC599D
square
#CCC159 #59CC88 #5964CC #CC599D
split-complementary
#CCC159 #599DCC #8859CC
monochromatic
#837A28 #B1A636 #CCC159 #DAD288 #E9E4B7

Accessibility & contrast

On white

1.85
#CCC159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CCC159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC159
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC159#FFFFFF#000000##000000
##CCC1591.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4E
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc159;
/* rgb */ color: rgb(204, 193, 89);
/* oklch */ color: oklch(79.9% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#ded38b',
    500: '#ccc159',
    950: '#000000',
  },
}
SCSS
$custom: #ccc159;
$custom-light: #ded38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc159",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 54.261,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79937,
    "c": 0.12605,
    "h": 103.3
  },
  "luminance": 0.51699
}

Semantic roles & 50–950 ramp

primary
#CCC159
secondary
#3F468A
accent
#59DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC159

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

Preview Lab → · Contrast checker → · Palette generator →

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