#CCB94C#CCB94C

#CCB94C is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.130 H 99.4°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CCB94C
RGBrgb(204, 185, 76)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.3%, 62.7%, 20%)
CIE-LABlab(74.86, -6.16, 56.15)
CIE-LCHlch(74.86, 56.49, 96.26°)
OKLaboklab(78.12% -0.0213 0.1282)
OKLCHoklch(78.12% 0.13 99.4)
XYZxyz(43.5571, 48.0590, 13.8181)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB94C #4C5FCC
analogous
#CC794C #CCB94C #9FCC4C
triadic
#CCB94C #4CCCB9 #B94CCC
tetradic
#CCB94C #4CCC79 #4C5FCC #CC4C9F
square
#CCB94C #4CCC79 #4C5FCC #CC4C9F
split-complementary
#CCB94C #4C9FCC #794CCC
monochromatic
#7B6E23 #AA9831 #CCB94C #DACC7C #E7DEAB

Accessibility & contrast

On white

1.98
#CCB94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#CCB94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB94C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB94C#FFFFFF#000000##000000
##CCB94C1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43F
Deuteranopia (green-blind)
#CFBB52
Tritanopia (blue-blind)
#DBACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb94c;
/* rgb */ color: rgb(204, 185, 76);
/* oklch */ color: oklch(78.1% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd83',
    500: '#ccb94c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb94c;
$custom-light: #dfcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb94c",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 51.094,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7812,
    "c": 0.12993,
    "h": 99.4
  },
  "luminance": 0.48057
}

Semantic roles & 50–950 ramp

primary
#CCB94C
secondary
#9FA7D5
accent
#5FDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB94C

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

Preview Lab → · Contrast checker → · Palette generator →

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