#CCB94D#CCB94D

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

Color values

HEX#CCB94D
RGBrgb(204, 185, 77)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.3%, 62.3%, 20%)
CIE-LABlab(74.87, -6.09, 55.72)
CIE-LCHlch(74.87, 56.05, 96.24°)
OKLaboklab(78.13% -0.021 0.1274)
OKLCHoklch(78.13% 0.129 99.3)
XYZxyz(43.5921, 48.0730, 14.0026)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB94D #4D60CC
analogous
#CC7A4D #CCB94D #9FCC4D
triadic
#CCB94D #4DCCB9 #B94DCC
tetradic
#CCB94D #4DCC7A #4D60CC #CC4D9F
square
#CCB94D #4DCC7A #4D60CC #CC4D9F
split-complementary
#CCB94D #4D9FCC #7A4DCC
monochromatic
#7B6E23 #AB9931 #CCB94D #DACC7D #E7DEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB94D#FFFFFF#000000##000000
##CCB94D1.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)
#CAB441
Deuteranopia (green-blind)
#CFBB53
Tritanopia (blue-blind)
#DBACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb94d;
/* rgb */ color: rgb(204, 185, 77);
/* oklch */ color: oklch(78.1% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#dfcd83',
    500: '#ccb94d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb94d;
$custom-light: #dfcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb94d",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 51.024,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7813,
    "c": 0.12912,
    "h": 99.3
  },
  "luminance": 0.48071
}

Semantic roles & 50–950 ramp

primary
#CCB94D
secondary
#A0A8D5
accent
#5FDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB94D

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

Preview Lab → · Contrast checker → · Palette generator →

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