#CCC759#CCC759

#CCC759 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.132 H 106.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CCC759
RGBrgb(204, 199, 89)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.5%, 56.4%, 20%)
CIE-LABlab(78.70, -12.43, 54.60)
CIE-LCHlch(78.70, 56.00, 102.83°)
OKLaboklab(81.21% -0.0377 0.1266)
OKLCHoklch(81.21% 0.132 106.6)
XYZxyz(47.1299, 54.4069, 17.4682)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC759 #595ECC
analogous
#CC8D59 #CCC759 #98CC59
triadic
#CCC759 #59CCC7 #C759CC
tetradic
#CCC759 #59CC8D #595ECC #CC5998
square
#CCC759 #59CC8D #595ECC #CC5998
split-complementary
#CCC759 #5998CC #8D59CC
monochromatic
#837F28 #B1AC36 #CCC759 #DAD788 #E9E7B7

Accessibility & contrast

On white

1.77
#CCC759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CCC759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC759
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC759#FFFFFF#000000##000000
##CCC7591.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04E
Deuteranopia (green-blind)
#D9C55F
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc759;
/* rgb */ color: rgb(204, 199, 89);
/* oklch */ color: oklch(81.2% 0.132 106.6);
Tailwind
colors: {
  custom: {
    50: '#ded78c',
    500: '#ccc759',
    950: '#000000',
  },
}
SCSS
$custom: #ccc759;
$custom-light: #ded78c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc759",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 57.391,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81207,
    "c": 0.13206,
    "h": 106.6
  },
  "luminance": 0.54405
}

Semantic roles & 50–950 ramp

primary
#CCC759
secondary
#3F438A
accent
#52DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC759

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

Preview Lab → · Contrast checker → · Palette generator →

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