#CCC93B#CCC93B

#CCC93B is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.157 H 108.2°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CCC93B
RGBrgb(204, 201, 59)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1.5%, 71.1%, 20%)
CIE-LABlab(79.00, -15.28, 67.15)
CIE-LCHlch(79.00, 68.86, 102.82°)
OKLaboklab(81.37% -0.0489 0.1487)
OKLCHoklch(81.37% 0.157 108.2)
XYZxyz(46.5796, 54.9279, 12.2853)
Luminance0.5493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC93B #3B3ECC
analogous
#CC813B #CCC93B #86CC3B
triadic
#CCC93B #3BCCC9 #C93BCC
tetradic
#CCC93B #3BCC81 #3B3ECC #CC3B86
square
#CCC93B #3BCC81 #3B3ECC #CC3B86
split-complementary
#CCC93B #3B86CC #813BCC
monochromatic
#706E1D #A09E2A #CCC93B #D9D66C #E5E49C

Accessibility & contrast

On white

1.75
#CCC93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CCC93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC93B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC93B#FFFFFF#000000##000000
##CCC93B1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC121
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#DBBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc93b;
/* rgb */ color: rgb(204, 201, 59);
/* oklch */ color: oklch(81.4% 0.157 108.2);
Tailwind
colors: {
  custom: {
    50: '#dfd97a',
    500: '#ccc93b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc93b;
$custom-light: #dfd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc93b",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 58.759,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81372,
    "c": 0.15651,
    "h": 108.2
  },
  "luminance": 0.54926
}

Semantic roles & 50–950 ramp

primary
#CCC93B
secondary
#323479
accent
#49E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC93B

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

Preview Lab → · Contrast checker → · Palette generator →

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