#CCCA43#CCCA43

#CCCA43 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.152 H 108.5°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CCCA43
RGBrgb(204, 202, 67)
HSLhsl(59, 57%, 53%)
HSVhsv(59, 67%, 80%)
CMYKcmyk(0%, 1%, 67.2%, 20%)
CIE-LABlab(79.32, -15.37, 64.51)
CIE-LCHlch(79.32, 66.32, 103.40°)
OKLaboklab(81.64% -0.0484 0.1445)
OKLCHoklch(81.64% 0.152 108.5)
XYZxyz(47.0371, 55.4851, 13.5411)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA43 #4345CC
analogous
#CC8543 #CCCA43 #89CC43
triadic
#CCCA43 #43CCCA #CA43CC
tetradic
#CCCA43 #43CC85 #4345CC #CC4389
square
#CCCA43 #43CC85 #4345CC #CC4389
split-complementary
#CCCA43 #4389CC #8543CC
monochromatic
#757420 #A5A32D #CCCA43 #D9D873 #E6E5A3

Accessibility & contrast

On white

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

On black

12.10
#CCCA43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA43
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA43#FFFFFF#000000##000000
##CCCA431.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22F
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca43;
/* rgb */ color: rgb(204, 202, 67);
/* oklch */ color: oklch(81.6% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfd97f',
    500: '#ccca43',
    950: '#000000',
  },
}
SCSS
$custom: #ccca43;
$custom-light: #dfd97f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca43",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 67
  },
  "hsl": {
    "h": 59.124,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81644,
    "c": 0.15236,
    "h": 108.5
  },
  "luminance": 0.55484
}

Semantic roles & 50–950 ramp

primary
#CCCA43
secondary
#36377E
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA43

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

Preview Lab → · Contrast checker → · Palette generator →

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