#CCB94F#CCB94F

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

Color values

HEX#CCB94F
RGBrgb(204, 185, 79)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 61%, 80%)
CMYKcmyk(0%, 9.3%, 61.3%, 20%)
CIE-LABlab(74.89, -5.96, 54.85)
CIE-LCHlch(74.89, 55.18, 96.20°)
OKLaboklab(78.15% -0.0203 0.1258)
OKLCHoklch(78.15% 0.127 99.2)
XYZxyz(43.6638, 48.1017, 14.3802)
Luminance0.4810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB94F #4F62CC
analogous
#CC7A4F #CCB94F #A0CC4F
triadic
#CCB94F #4FCCB9 #B94FCC
tetradic
#CCB94F #4FCC7A #4F62CC #CC4FA0
square
#CCB94F #4FCC7A #4F62CC #CC4FA0
split-complementary
#CCB94F #4FA0CC #7A4FCC
monochromatic
#7D6F24 #AC9932 #CCB94F #DACC7E #E7DFAE

Accessibility & contrast

On white

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

On black

10.62
#CCB94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB94F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB94F#FFFFFF#000000##000000
##CCB94F1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B443
Deuteranopia (green-blind)
#CFBB54
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb94f;
/* rgb */ color: rgb(204, 185, 79);
/* oklch */ color: oklch(78.1% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#decd84',
    500: '#ccb94f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb94f;
$custom-light: #decd84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb94f",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 50.88,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7815,
    "c": 0.12747,
    "h": 99.2
  },
  "luminance": 0.481
}

Semantic roles & 50–950 ramp

primary
#CCB94F
secondary
#A1A9D5
accent
#60DE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB94F

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

Preview Lab → · Contrast checker → · Palette generator →

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