#CCB64A#CCB64A

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

Color values

HEX#CCB64A
RGBrgb(204, 182, 74)
HSLhsl(50, 56%, 55%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.8%, 63.7%, 20%)
CIE-LABlab(74.06, -4.73, 56.16)
CIE-LCHlch(74.06, 56.35, 94.81°)
OKLaboklab(77.48% -0.0174 0.1279)
OKLCHoklch(77.48% 0.129 97.7)
XYZxyz(42.8677, 46.7897, 13.2506)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB64A #4A60CC
analogous
#CC754A #CCB64A #A1CC4A
triadic
#CCB64A #4ACCB6 #B64ACC
tetradic
#CCB64A #4ACC75 #4A60CC #CC4AA1
square
#CCB64A #4ACC75 #4A60CC #CC4AA1
split-complementary
#CCB64A #4AA1CC #754ACC
monochromatic
#796B22 #A99530 #CCB64A #D9C97A #E7DDA9

Accessibility & contrast

On white

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

On black

10.36
#CCB64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB64A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB64A#FFFFFF#000000##000000
##CCB64A1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23D
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#DBA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb64a;
/* rgb */ color: rgb(204, 182, 74);
/* oklch */ color: oklch(77.5% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#dfcb81',
    500: '#ccb64a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb64a;
$custom-light: #dfcb81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb64a",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 74
  },
  "hsl": {
    "h": 49.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77475,
    "c": 0.12908,
    "h": 97.7
  },
  "luminance": 0.46788
}

Semantic roles & 50–950 ramp

primary
#CCB64A
secondary
#9DA7D4
accent
#62DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB64A

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

Preview Lab → · Contrast checker → · Palette generator →

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