#CCB159#CCB159

#CCB159 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.112 H 92.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CCB159
RGBrgb(204, 177, 89)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 56%, 80%)
CMYKcmyk(0%, 13.2%, 56.4%, 20%)
CIE-LABlab(72.90, -1.04, 47.95)
CIE-LCHlch(72.90, 47.96, 91.24°)
OKLaboklab(76.61% -0.005 0.1122)
OKLCHoklch(76.61% 0.112 92.5)
XYZxyz(42.4289, 45.0050, 15.9012)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB159 #5974CC
analogous
#CC7859 #CCB159 #ADCC59
triadic
#CCB159 #59CCB1 #B159CC
tetradic
#CCB159 #59CC78 #5974CC #CC59AD
square
#CCB159 #59CC78 #5974CC #CC59AD
split-complementary
#CCB159 #59ADCC #7859CC
monochromatic
#836D28 #B19436 #CCB159 #DAC788 #E9DDB7

Accessibility & contrast

On white

2.10
#CCB159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#CCB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB159
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB159#FFFFFF#000000##000000
##CCB1591.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C8B65D
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb159;
/* rgb */ color: rgb(204, 177, 89);
/* oklch */ color: oklch(76.6% 0.112 92.5);
Tailwind
colors: {
  custom: {
    50: '#dec88a',
    500: '#ccb159',
    950: '#000000',
  },
}
SCSS
$custom: #ccb159;
$custom-light: #dec88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb159",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 45.913,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76605,
    "c": 0.11235,
    "h": 92.5
  },
  "luminance": 0.45003
}

Semantic roles & 50–950 ramp

primary
#CCB159
secondary
#A9B4D8
accent
#6DDC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB159

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

Preview Lab → · Contrast checker → · Palette generator →

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