#CCC958#CCC958

#CCC958 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.135 H 107.6°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CCC958
RGBrgb(204, 201, 88)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 1.5%, 56.9%, 20%)
CIE-LABlab(79.22, -13.52, 55.64)
CIE-LCHlch(79.22, 57.26, 103.66°)
OKLaboklab(81.62% -0.0409 0.1287)
OKLCHoklch(81.62% 0.135 107.6)
XYZxyz(47.5513, 55.3166, 17.4029)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC958 #585BCC
analogous
#CC8F58 #CCC958 #95CC58
triadic
#CCC958 #58CCC9 #C958CC
tetradic
#CCC958 #58CC8F #585BCC #CC5895
square
#CCC958 #58CC8F #585BCC #CC5895
split-complementary
#CCC958 #5895CC #8F58CC
monochromatic
#828028 #B1AE36 #CCC958 #DAD887 #E9E7B6

Accessibility & contrast

On white

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

On black

12.06
#CCC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC958
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC958#FFFFFF#000000##000000
##CCC9581.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#D9BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc958;
/* rgb */ color: rgb(204, 201, 88);
/* oklch */ color: oklch(81.6% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#ded98b',
    500: '#ccc958',
    950: '#000000',
  },
}
SCSS
$custom: #ccc958;
$custom-light: #ded98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc958",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 58.448,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81622,
    "c": 0.13502,
    "h": 107.6
  },
  "luminance": 0.55315
}

Semantic roles & 50–950 ramp

primary
#CCC958
secondary
#3F4189
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC958

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

Preview Lab → · Contrast checker → · Palette generator →

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