#CCB24D#CCB24D

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

Color values

HEX#CCB24D
RGBrgb(204, 178, 77)
HSLhsl(48, 55%, 55%)
HSVhsv(48, 62%, 80%)
CMYKcmyk(0%, 12.7%, 62.3%, 20%)
CIE-LABlab(73.03, -2.43, 53.71)
CIE-LCHlch(73.03, 53.77, 92.60°)
OKLaboklab(76.68% -0.0105 0.1231)
OKLCHoklch(76.68% 0.124 94.9)
XYZxyz(42.1637, 45.2161, 13.5264)
Luminance0.4521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB24D #4D67CC
analogous
#CC734D #CCB24D #A6CC4D
triadic
#CCB24D #4DCCB2 #B24DCC
tetradic
#CCB24D #4DCC73 #4D67CC #CC4DA6
square
#CCB24D #4DCC73 #4D67CC #CC4DA6
split-complementary
#CCB24D #4DA6CC #734DCC
monochromatic
#7B6923 #AB9231 #CCB24D #DAC77D #E7DBAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB24D#FFFFFF#000000##000000
##CCB24D1.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)
#C3AF42
Deuteranopia (green-blind)
#CAB752
Tritanopia (blue-blind)
#DBA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb24d;
/* rgb */ color: rgb(204, 178, 77);
/* oklch */ color: oklch(76.7% 0.124 94.9);
Tailwind
colors: {
  custom: {
    50: '#dfc883',
    500: '#ccb24d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb24d;
$custom-light: #dfc883;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb24d",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 77
  },
  "hsl": {
    "h": 47.717,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76676,
    "c": 0.12357,
    "h": 94.9
  },
  "luminance": 0.45214
}

Semantic roles & 50–950 ramp

primary
#CCB24D
secondary
#A0ABD5
accent
#68DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB24D

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

Preview Lab → · Contrast checker → · Palette generator →

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