#CCCA3B#CCCA3B

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

Color values

HEX#CCCA3B
RGBrgb(204, 202, 59)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1%, 71.1%, 20%)
CIE-LABlab(79.27, -15.78, 67.41)
CIE-LCHlch(79.27, 69.23, 103.17°)
OKLaboklab(81.59% -0.0503 0.1492)
OKLCHoklch(81.59% 0.157 108.6)
XYZxyz(46.8135, 55.3957, 12.3633)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA3B #3B3DCC
analogous
#CC813B #CCCA3B #86CC3B
triadic
#CCCA3B #3BCCCA #CA3BCC
tetradic
#CCCA3B #3BCC81 #3B3DCC #CC3B86
square
#CCCA3B #3BCC81 #3B3DCC #CC3B86
split-complementary
#CCCA3B #3B86CC #813BCC
monochromatic
#706E1D #A09E2A #CCCA3B #D9D76C #E5E49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA3B#FFFFFF#000000##000000
##CCCA3B1.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)
#DAC221
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#DBBDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca3b;
/* rgb */ color: rgb(204, 202, 59);
/* oklch */ color: oklch(81.6% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfd97b',
    500: '#ccca3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccca3b;
$custom-light: #dfd97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca3b",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 59
  },
  "hsl": {
    "h": 59.172,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81586,
    "c": 0.15747,
    "h": 108.6
  },
  "luminance": 0.55394
}

Semantic roles & 50–950 ramp

primary
#CCCA3B
secondary
#323379
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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