#CCB24C#CCB24C

#CCB24C is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.124 H 95.0°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CCB24C
RGBrgb(204, 178, 76)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.7%, 62.7%, 20%)
CIE-LABlab(73.02, -2.50, 54.15)
CIE-LCHlch(73.02, 54.21, 92.64°)
OKLaboklab(76.67% -0.0108 0.1239)
OKLCHoklch(76.67% 0.124 95)
XYZxyz(42.1286, 45.2021, 13.3419)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB24C #4C66CC
analogous
#CC724C #CCB24C #A6CC4C
triadic
#CCB24C #4CCCB2 #B24CCC
tetradic
#CCB24C #4CCC72 #4C66CC #CC4CA6
square
#CCB24C #4CCC72 #4C66CC #CC4CA6
split-complementary
#CCB24C #4CA6CC #724CCC
monochromatic
#7B6923 #AA9231 #CCB24C #DAC67C #E7DBAB

Accessibility & contrast

On white

2.09
#CCB24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CCB24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB24C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB24C#FFFFFF#000000##000000
##CCB24C1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF41
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#DBA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb24c;
/* rgb */ color: rgb(204, 178, 76);
/* oklch */ color: oklch(76.7% 0.124 95.0);
Tailwind
colors: {
  custom: {
    50: '#dfc882',
    500: '#ccb24c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb24c;
$custom-light: #dfc882;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb24c",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 76
  },
  "hsl": {
    "h": 47.813,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76665,
    "c": 0.1244,
    "h": 95
  },
  "luminance": 0.452
}

Semantic roles & 50–950 ramp

primary
#CCB24C
secondary
#9FAAD5
accent
#67DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB24C

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

Preview Lab → · Contrast checker → · Palette generator →

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