#CCB94E#CCB94E

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

Color values

HEX#CCB94E
RGBrgb(204, 185, 78)
HSLhsl(51, 55%, 55%)
HSVhsv(51, 62%, 80%)
CMYKcmyk(0%, 9.3%, 61.8%, 20%)
CIE-LABlab(74.88, -6.03, 55.29)
CIE-LCHlch(74.88, 55.62, 96.22°)
OKLaboklab(78.14% -0.0207 0.1266)
OKLCHoklch(78.14% 0.128 99.3)
XYZxyz(43.6277, 48.0872, 14.1900)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB94E #4E61CC
analogous
#CC7A4E #CCB94E #A0CC4E
triadic
#CCB94E #4ECCB9 #B94ECC
tetradic
#CCB94E #4ECC7A #4E61CC #CC4EA0
square
#CCB94E #4ECC7A #4E61CC #CC4EA0
split-complementary
#CCB94E #4EA0CC #7A4ECC
monochromatic
#7C6F24 #AB9931 #CCB94E #DACC7E #E7DFAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB94E#FFFFFF#000000##000000
##CCB94E1.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)
#C9B442
Deuteranopia (green-blind)
#CFBB53
Tritanopia (blue-blind)
#DBADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb94e;
/* rgb */ color: rgb(204, 185, 78);
/* oklch */ color: oklch(78.1% 0.128 99.3);
Tailwind
colors: {
  custom: {
    50: '#decd84',
    500: '#ccb94e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb94e;
$custom-light: #decd84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb94e",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 50.952,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7814,
    "c": 0.1283,
    "h": 99.3
  },
  "luminance": 0.48085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB94E

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

Preview Lab → · Contrast checker → · Palette generator →

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