#CCB94A#CCB94A

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

Color values

HEX#CCB94A
RGBrgb(204, 185, 74)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 64%, 80%)
CMYKcmyk(0%, 9.3%, 63.7%, 20%)
CIE-LABlab(74.84, -6.29, 57.00)
CIE-LCHlch(74.84, 57.35, 96.29°)
OKLaboklab(78.1% -0.0219 0.1297)
OKLCHoklch(78.1% 0.132 99.6)
XYZxyz(43.4887, 48.0316, 13.4575)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB94A #4A5DCC
analogous
#CC784A #CCB94A #9ECC4A
triadic
#CCB94A #4ACCB9 #B94ACC
tetradic
#CCB94A #4ACC78 #4A5DCC #CC4A9E
square
#CCB94A #4ACC78 #4A5DCC #CC4A9E
split-complementary
#CCB94A #4A9ECC #784ACC
monochromatic
#796D22 #A99730 #CCB94A #D9CB7A #E7DEA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB94A#FFFFFF#000000##000000
##CCB94A1.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)
#CAB43D
Deuteranopia (green-blind)
#CFBB50
Tritanopia (blue-blind)
#DBACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb94a;
/* rgb */ color: rgb(204, 185, 74);
/* oklch */ color: oklch(78.1% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd81',
    500: '#ccb94a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb94a;
$custom-light: #dfcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb94a",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 74
  },
  "hsl": {
    "h": 51.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78101,
    "c": 0.13153,
    "h": 99.6
  },
  "luminance": 0.4803
}

Semantic roles & 50–950 ramp

primary
#CCB94A
secondary
#9DA5D4
accent
#5FDF48
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCB94A

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

Preview Lab → · Contrast checker → · Palette generator →

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