#CCB949#CCB949

#CCB949 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.60:1 contrast (WCAG AA passes).

Color values

HEX#CCB949
RGBrgb(204, 185, 73)
HSLhsl(51, 56%, 54%)
HSVhsv(51, 64%, 80%)
CMYKcmyk(0%, 9.3%, 64.2%, 20%)
CIE-LABlab(74.84, -6.35, 57.43)
CIE-LCHlch(74.84, 57.78, 96.31°)
OKLaboklab(78.09% -0.0222 0.1304)
OKLCHoklch(78.09% 0.132 99.6)
XYZxyz(43.4552, 48.0182, 13.2815)
Luminance0.4802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB949 #495CCC
analogous
#CC7849 #CCB949 #9DCC49
triadic
#CCB949 #49CCB9 #B949CC
tetradic
#CCB949 #49CC78 #495CCC #CC499D
square
#CCB949 #49CC78 #495CCC #CC499D
split-complementary
#CCB949 #499DCC #7849CC
monochromatic
#796C22 #A9972F #CCB949 #D9CB79 #E7DEA9

Accessibility & contrast

On white

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

On black

10.60
#CCB949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB949
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB949#FFFFFF#000000##000000
##CCB9491.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43B
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#DBACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb949;
/* rgb */ color: rgb(204, 185, 73);
/* oklch */ color: oklch(78.1% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd81',
    500: '#ccb949',
    950: '#000000',
  },
}
SCSS
$custom: #ccb949;
$custom-light: #dfcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb949",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 51.298,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78092,
    "c": 0.13231,
    "h": 99.6
  },
  "luminance": 0.48016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB949

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

Preview Lab → · Contrast checker → · Palette generator →

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