#CCB64F#CCB64F

#CCB64F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.125 H 97.3°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CCB64F
RGBrgb(204, 182, 79)
HSLhsl(49, 55%, 55%)
HSVhsv(49, 61%, 80%)
CMYKcmyk(0%, 10.8%, 61.3%, 20%)
CIE-LABlab(74.10, -4.40, 53.98)
CIE-LCHlch(74.10, 54.16, 94.66°)
OKLaboklab(77.53% -0.0159 0.124)
OKLCHoklch(77.53% 0.125 97.3)
XYZxyz(43.0429, 46.8597, 14.1732)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB64F #4F65CC
analogous
#CC774F #CCB64F #A3CC4F
triadic
#CCB64F #4FCCB6 #B64FCC
tetradic
#CCB64F #4FCC77 #4F65CC #CC4FA3
square
#CCB64F #4FCC77 #4F65CC #CC4FA3
split-complementary
#CCB64F #4FA3CC #774FCC
monochromatic
#7D6D24 #AC9632 #CCB64F #DACA7E #E7DDAE

Accessibility & contrast

On white

2.02
#CCB64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CCB64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB64F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB64F#FFFFFF#000000##000000
##CCB64F1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B244
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#DBAAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb64f;
/* rgb */ color: rgb(204, 182, 79);
/* oklch */ color: oklch(77.5% 0.125 97.3);
Tailwind
colors: {
  custom: {
    50: '#decb84',
    500: '#ccb64f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb64f;
$custom-light: #decb84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb64f",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 49.44,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77525,
    "c": 0.125,
    "h": 97.3
  },
  "luminance": 0.46858
}

Semantic roles & 50–950 ramp

primary
#CCB64F
secondary
#A1ABD5
accent
#64DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB64F

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

Preview Lab → · Contrast checker → · Palette generator →

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