#CCB94B#CCB94B

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

Color values

HEX#CCB94B
RGBrgb(204, 185, 75)
HSLhsl(51, 56%, 55%)
HSVhsv(51, 63%, 80%)
CMYKcmyk(0%, 9.3%, 63.2%, 20%)
CIE-LABlab(74.85, -6.22, 56.58)
CIE-LCHlch(74.85, 56.92, 96.28°)
OKLaboklab(78.11% -0.0216 0.1289)
OKLCHoklch(78.11% 0.131 99.5)
XYZxyz(43.5226, 48.0452, 13.6364)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB94B #4B5ECC
analogous
#CC794B #CCB94B #9ECC4B
triadic
#CCB94B #4BCCB9 #B94BCC
tetradic
#CCB94B #4BCC79 #4B5ECC #CC4B9E
square
#CCB94B #4BCC79 #4B5ECC #CC4B9E
split-complementary
#CCB94B #4B9ECC #794BCC
monochromatic
#7A6D23 #AA9830 #CCB94B #DACC7B #E7DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB94B#FFFFFF#000000##000000
##CCB94B1.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)
#CAB43E
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#DBACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb94b;
/* rgb */ color: rgb(204, 185, 75);
/* oklch */ color: oklch(78.1% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd82',
    500: '#ccb94b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb94b;
$custom-light: #dfcd82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb94b",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 51.163,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7811,
    "c": 0.13073,
    "h": 99.5
  },
  "luminance": 0.48043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB94B

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

Preview Lab → · Contrast checker → · Palette generator →

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