#CCC95E#CCC95E

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

Color values

HEX#CCC95E
RGBrgb(204, 201, 94)
HSLhsl(58, 52%, 58%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 1.5%, 53.9%, 20%)
CIE-LABlab(79.28, -13.05, 52.98)
CIE-LCHlch(79.28, 54.56, 103.84°)
OKLaboklab(81.69% -0.0389 0.1237)
OKLCHoklch(81.69% 0.13 107.5)
XYZxyz(47.8102, 55.4201, 18.7662)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC95E #5E61CC
analogous
#CC925E #CCC95E #98CC5E
triadic
#CCC95E #5ECCC9 #C95ECC
tetradic
#CCC95E #5ECC92 #5E61CC #CC5E98
square
#CCC95E #5ECC92 #5E61CC #CC5E98
split-complementary
#CCC95E #5E98CC #925ECC
monochromatic
#85832A #B4B039 #CCC95E #DBD98C #E9E8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC95E#FFFFFF#000000##000000
##CCC95E1.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)
#D8C253
Deuteranopia (green-blind)
#DAC664
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc95e;
/* rgb */ color: rgb(204, 201, 94);
/* oklch */ color: oklch(81.7% 0.130 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded98f',
    500: '#ccc95e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc95e;
$custom-light: #ded98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc95e",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 58.364,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81688,
    "c": 0.12964,
    "h": 107.5
  },
  "luminance": 0.55419
}

Semantic roles & 50–950 ramp

primary
#CCC95E
secondary
#42448D
accent
#50DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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