#CCCA4B#CCCA4B

#CCCA4B is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.147 H 108.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CCCA4B
RGBrgb(204, 202, 75)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1%, 63.2%, 20%)
CIE-LABlab(79.38, -14.90, 61.40)
CIE-LCHlch(79.38, 63.18, 103.65°)
OKLaboklab(81.71% -0.0462 0.1391)
OKLCHoklch(81.71% 0.147 108.4)
XYZxyz(47.2939, 55.5878, 14.8935)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA4B #4B4DCC
analogous
#CC8A4B #CCCA4B #8DCC4B
triadic
#CCCA4B #4BCCCA #CA4BCC
tetradic
#CCCA4B #4BCC8A #4B4DCC #CC4B8D
square
#CCCA4B #4BCC8A #4B4DCC #CC4B8D
split-complementary
#CCCA4B #4B8DCC #8A4BCC
monochromatic
#7A7923 #AAA830 #CCCA4B #DAD87B #E7E6AA

Accessibility & contrast

On white

1.73
#CCCA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CCCA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA4B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA4B#FFFFFF#000000##000000
##CCCA4B1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23B
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca4b;
/* rgb */ color: rgb(204, 202, 75);
/* oklch */ color: oklch(81.7% 0.147 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#ccca4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccca4b;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca4b",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 59.07,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81709,
    "c": 0.14662,
    "h": 108.4
  },
  "luminance": 0.55586
}

Semantic roles & 50–950 ramp

primary
#CCCA4B
secondary
#393A82
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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