#CCB24B#CCB24B

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

Color values

HEX#CCB24B
RGBrgb(204, 178, 75)
HSLhsl(48, 56%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 12.7%, 63.2%, 20%)
CIE-LABlab(73.02, -2.57, 54.59)
CIE-LCHlch(73.02, 54.65, 92.69°)
OKLaboklab(76.66% -0.0111 0.1247)
OKLCHoklch(76.66% 0.125 95.1)
XYZxyz(42.0941, 45.1883, 13.1602)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB24B #4B65CC
analogous
#CC724B #CCB24B #A6CC4B
triadic
#CCB24B #4BCCB2 #B24BCC
tetradic
#CCB24B #4BCC72 #4B65CC #CC4BA6
square
#CCB24B #4BCC72 #4B65CC #CC4BA6
split-complementary
#CCB24B #4BA6CC #724BCC
monochromatic
#7A6823 #AA9130 #CCB24B #DAC67B #E7DBAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB24B#FFFFFF#000000##000000
##CCB24B1.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)
#C3AF3F
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#DBA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb24b;
/* rgb */ color: rgb(204, 178, 75);
/* oklch */ color: oklch(76.7% 0.125 95.1);
Tailwind
colors: {
  custom: {
    50: '#dfc882',
    500: '#ccb24b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb24b;
$custom-light: #dfc882;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb24b",
  "rgb": {
    "r": 204,
    "g": 178,
    "b": 75
  },
  "hsl": {
    "h": 47.907,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76655,
    "c": 0.12521,
    "h": 95.1
  },
  "luminance": 0.45186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB24B

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

Preview Lab → · Contrast checker → · Palette generator →

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