#CCB059#CCB059

#CCB059 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.112 H 91.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CCB059
RGBrgb(204, 176, 89)
HSLhsl(45, 53%, 57%)
HSVhsv(45, 56%, 80%)
CMYKcmyk(0%, 13.7%, 56.4%, 20%)
CIE-LABlab(72.64, -0.51, 47.64)
CIE-LCHlch(72.64, 47.65, 90.61°)
OKLaboklab(76.4% -0.0035 0.1116)
OKLCHoklch(76.4% 0.112 91.8)
XYZxyz(42.2321, 44.6114, 15.8356)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB059 #5975CC
analogous
#CC7659 #CCB059 #AFCC59
triadic
#CCB059 #59CCB0 #B059CC
tetradic
#CCB059 #59CC76 #5975CC #CC59AF
square
#CCB059 #59CC76 #5975CC #CC59AF
split-complementary
#CCB059 #59AFCC #7659CC
monochromatic
#836C28 #B19336 #CCB059 #DAC688 #E9DDB7

Accessibility & contrast

On white

2.12
#CCB059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CCB059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB059
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB059#FFFFFF#000000##000000
##CCB0591.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD51
Deuteranopia (green-blind)
#C7B65D
Tritanopia (blue-blind)
#DBA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ccb059;
/* rgb */ color: rgb(204, 176, 89);
/* oklch */ color: oklch(76.4% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#dec78a',
    500: '#ccb059',
    950: '#000000',
  },
}
SCSS
$custom: #ccb059;
$custom-light: #dec78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb059",
  "rgb": {
    "r": 204,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 45.391,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.764,
    "c": 0.11163,
    "h": 91.8
  },
  "luminance": 0.44609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB059

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

Preview Lab → · Contrast checker → · Palette generator →

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