#CCCB43#CCCB43

#CCCB43 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.153 H 108.9°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#CCCB43
RGBrgb(204, 203, 67)
HSLhsl(60, 57%, 53%)
HSVhsv(60, 67%, 80%)
CMYKcmyk(0%, 0.5%, 67.2%, 20%)
CIE-LABlab(79.59, -15.87, 64.79)
CIE-LCHlch(79.59, 66.70, 103.76°)
OKLaboklab(81.86% -0.0498 0.145)
OKLCHoklch(81.86% 0.153 108.9)
XYZxyz(47.2725, 55.9559, 13.6195)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB43 #4344CC
analogous
#CC8643 #CCCB43 #88CC43
triadic
#CCCB43 #43CCCB #CB43CC
tetradic
#CCCB43 #43CC86 #4344CC #CC4388
square
#CCCB43 #43CC86 #4344CC #CC4388
split-complementary
#CCCB43 #4388CC #8643CC
monochromatic
#757420 #A5A42D #CCCB43 #D9D873 #E6E6A3

Accessibility & contrast

On white

1.72
#CCCB43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#CCCB43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB43
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB43#FFFFFF#000000##000000
##CCCB431.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccb43;
/* rgb */ color: rgb(204, 203, 67);
/* oklch */ color: oklch(81.9% 0.153 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfda7f',
    500: '#cccb43',
    950: '#000000',
  },
}
SCSS
$custom: #cccb43;
$custom-light: #dfda7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb43",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 67
  },
  "hsl": {
    "h": 59.562,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81858,
    "c": 0.15334,
    "h": 108.9
  },
  "luminance": 0.55954
}

Semantic roles & 50–950 ramp

primary
#CCCB43
secondary
#36367E
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB43

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

Preview Lab → · Contrast checker → · Palette generator →

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