#CCC43B#CCC43B

#CCC43B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.152 H 106.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CCC43B
RGBrgb(204, 196, 59)
HSLhsl(57, 59%, 52%)
HSVhsv(57, 71%, 80%)
CMYKcmyk(0%, 3.9%, 71.1%, 20%)
CIE-LABlab(77.66, -12.76, 65.85)
CIE-LCHlch(77.66, 67.07, 100.96°)
OKLaboklab(80.3% -0.0418 0.1459)
OKLCHoklch(80.3% 0.152 106)
XYZxyz(45.4330, 52.6346, 11.9031)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC43B #3B43CC
analogous
#CC7C3B #CCC43B #8BCC3B
triadic
#CCC43B #3BCCC4 #C43BCC
tetradic
#CCC43B #3BCC7C #3B43CC #CC3B8B
square
#CCC43B #3BCC7C #3B43CC #CC3B8B
split-complementary
#CCC43B #3B8BCC #7C3BCC
monochromatic
#706B1D #A09A2A #CCC43B #D9D36C #E5E19C

Accessibility & contrast

On white

1.82
#CCC43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CCC43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC43B
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC43B#FFFFFF#000000##000000
##CCC43B1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD23
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#DBB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc43b;
/* rgb */ color: rgb(204, 196, 59);
/* oklch */ color: oklch(80.3% 0.152 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd57a',
    500: '#ccc43b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc43b;
$custom-light: #dfd57a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc43b",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 56.69,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80303,
    "c": 0.15179,
    "h": 106
  },
  "luminance": 0.52633
}

Semantic roles & 50–950 ramp

primary
#CCC43B
secondary
#323679
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC43B

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

Preview Lab → · Contrast checker → · Palette generator →

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