#CCC95F#CCC95F

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

Color values

HEX#CCC95F
RGBrgb(204, 201, 95)
HSLhsl(58, 52%, 59%)
HSVhsv(58, 53%, 80%)
CMYKcmyk(0%, 1.5%, 53.4%, 20%)
CIE-LABlab(79.29, -12.97, 52.53)
CIE-LCHlch(79.29, 54.11, 103.87°)
OKLaboklab(81.7% -0.0386 0.1228)
OKLCHoklch(81.7% 0.129 107.5)
XYZxyz(47.8553, 55.4382, 19.0040)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC95F #5F62CC
analogous
#CC925F #CCC95F #98CC5F
triadic
#CCC95F #5FCCC9 #C95FCC
tetradic
#CCC95F #5FCC92 #5F62CC #CC5F98
square
#CCC95F #5FCC92 #5F62CC #CC5F98
split-complementary
#CCC95F #5F98CC #925FCC
monochromatic
#86832B #B4B139 #CCC95F #DBD98D #EAE8BC

Accessibility & contrast

On white

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

On black

12.09
#CCC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC95F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC95F#FFFFFF#000000##000000
##CCC95F1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc95f;
/* rgb */ color: rgb(204, 201, 95);
/* oklch */ color: oklch(81.7% 0.129 107.5);
Tailwind
colors: {
  custom: {
    50: '#ded98f',
    500: '#ccc95f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc95f;
$custom-light: #ded98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc95f",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 58.349,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.817,
    "c": 0.12871,
    "h": 107.5
  },
  "luminance": 0.55437
}

Semantic roles & 50–950 ramp

primary
#CCC95F
secondary
#42448D
accent
#51DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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