#CCB24F#CCB24F

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

Color values

HEX#CCB24F
RGBrgb(204, 178, 79)
HSLhsl(48, 55%, 55%)
HSVhsv(48, 61%, 80%)
CMYKcmyk(0%, 12.7%, 61.3%, 20%)
CIE-LABlab(73.05, -2.30, 52.83)
CIE-LCHlch(73.05, 52.88, 92.49°)
OKLaboklab(76.7% -0.0098 0.1215)
OKLCHoklch(76.7% 0.122 94.6)
XYZxyz(42.2354, 45.2448, 13.9041)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB24F #4F69CC
analogous
#CC734F #CCB24F #A7CC4F
triadic
#CCB24F #4FCCB2 #B24FCC
tetradic
#CCB24F #4FCC73 #4F69CC #CC4FA7
square
#CCB24F #4FCC73 #4F69CC #CC4FA7
split-complementary
#CCB24F #4FA7CC #734FCC
monochromatic
#7D6A24 #AC9332 #CCB24F #DAC77E #E7DCAE

Accessibility & contrast

On white

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

On black

10.05
#CCB24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB24F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB24F#FFFFFF#000000##000000
##CCB24F1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb24f;
/* rgb */ color: rgb(204, 178, 79);
/* oklch */ color: oklch(76.7% 0.122 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfc884',
    500: '#ccb24f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb24f;
$custom-light: #dfc884;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb24f",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 79
  },
  "hsl": {
    "h": 47.52,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76696,
    "c": 0.12192,
    "h": 94.6
  },
  "luminance": 0.45243
}

Semantic roles & 50–950 ramp

primary
#CCB24F
secondary
#A1ACD5
accent
#68DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB24F

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

Preview Lab → · Contrast checker → · Palette generator →

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