#CCC43F#CCC43F

#CCC43F is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.3% C 0.149 H 105.9°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CCC43F
RGBrgb(204, 196, 63)
HSLhsl(57, 58%, 52%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3.9%, 69.1%, 20%)
CIE-LABlab(77.68, -12.56, 64.40)
CIE-LCHlch(77.68, 65.61, 101.04°)
OKLaboklab(80.33% -0.0409 0.1436)
OKLCHoklch(80.33% 0.149 105.9)
XYZxyz(45.5407, 52.6777, 12.4706)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC43F #3F47CC
analogous
#CC7E3F #CCC43F #8DCC3F
triadic
#CCC43F #3FCCC4 #C43FCC
tetradic
#CCC43F #3FCC7E #3F47CC #CC3F8D
square
#CCC43F #3FCC7E #3F47CC #CC3F8D
split-complementary
#CCC43F #3F8DCC #7E3FCC
monochromatic
#726D1E #A39C2B #CCC43F #D9D36F #E6E2A0

Accessibility & contrast

On white

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

On black

11.54
#CCC43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC43F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC43F#FFFFFF#000000##000000
##CCC43F1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#DBB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc43f;
/* rgb */ color: rgb(204, 196, 63);
/* oklch */ color: oklch(80.3% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd57c',
    500: '#ccc43f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc43f;
$custom-light: #dfd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc43f",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 56.596,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80331,
    "c": 0.14925,
    "h": 105.9
  },
  "luminance": 0.52676
}

Semantic roles & 50–950 ramp

primary
#CCC43F
secondary
#34387B
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCC43F

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

Preview Lab → · Contrast checker → · Palette generator →

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