#CCC95D#CCC95D

#CCC95D is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.131 H 107.5°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CCC95D
RGBrgb(204, 201, 93)
HSLhsl(58, 52%, 58%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 1.5%, 54.4%, 20%)
CIE-LABlab(79.27, -13.13, 53.43)
CIE-LCHlch(79.27, 55.02, 103.81°)
OKLaboklab(81.68% -0.0393 0.1245)
OKLCHoklch(81.68% 0.131 107.5)
XYZxyz(47.7656, 55.4023, 18.5314)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC95D #5D60CC
analogous
#CC915D #CCC95D #97CC5D
triadic
#CCC95D #5DCCC9 #C95DCC
tetradic
#CCC95D #5DCC91 #5D60CC #CC5D97
square
#CCC95D #5DCC91 #5D60CC #CC5D97
split-complementary
#CCC95D #5D97CC #915DCC
monochromatic
#85822A #B3B038 #CCC95D #DBD98C #E9E8BA

Accessibility & contrast

On white

1.74
#CCC95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CCC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC95D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC95D#FFFFFF#000000##000000
##CCC95D1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C252
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc95d;
/* rgb */ color: rgb(204, 201, 93);
/* oklch */ color: oklch(81.7% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded98e',
    500: '#ccc95d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc95d;
$custom-light: #ded98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc95d",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 58.378,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81677,
    "c": 0.13055,
    "h": 107.5
  },
  "luminance": 0.55401
}

Semantic roles & 50–950 ramp

primary
#CCC95D
secondary
#41438C
accent
#50DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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