#CCB64E#CCB64E

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

Color values

HEX#CCB64E
RGBrgb(204, 182, 78)
HSLhsl(50, 55%, 55%)
HSVhsv(50, 62%, 80%)
CMYKcmyk(0%, 10.8%, 61.8%, 20%)
CIE-LABlab(74.09, -4.47, 54.42)
CIE-LCHlch(74.09, 54.61, 94.69°)
OKLaboklab(77.52% -0.0162 0.1248)
OKLCHoklch(77.52% 0.126 97.4)
XYZxyz(43.0067, 46.8453, 13.9830)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB64E #4E64CC
analogous
#CC774E #CCB64E #A3CC4E
triadic
#CCB64E #4ECCB6 #B64ECC
tetradic
#CCB64E #4ECC77 #4E64CC #CC4EA3
square
#CCB64E #4ECC77 #4E64CC #CC4EA3
split-complementary
#CCB64E #4EA3CC #774ECC
monochromatic
#7C6C24 #AB9631 #CCB64E #DACA7E #E7DDAD

Accessibility & contrast

On white

2.03
#CCB64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB64E#FFFFFF#000000##000000
##CCB64E1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#DBA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb64e;
/* rgb */ color: rgb(204, 182, 78);
/* oklch */ color: oklch(77.5% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#dfcb84',
    500: '#ccb64e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb64e;
$custom-light: #dfcb84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb64e",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 49.524,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77515,
    "c": 0.12583,
    "h": 97.4
  },
  "luminance": 0.46843
}

Semantic roles & 50–950 ramp

primary
#CCB64E
secondary
#A1AAD5
accent
#63DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB64E

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

Preview Lab → · Contrast checker → · Palette generator →

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