#CCB15D#CCB15D

#CCB15D is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.109 H 91.9°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CCB15D
RGBrgb(204, 177, 93)
HSLhsl(45, 52%, 58%)
HSVhsv(45, 54%, 80%)
CMYKcmyk(0%, 13.2%, 54.4%, 20%)
CIE-LABlab(72.94, -0.72, 46.05)
CIE-LCHlch(72.94, 46.06, 90.89°)
OKLaboklab(76.66% -0.0036 0.1085)
OKLCHoklch(76.66% 0.109 91.9)
XYZxyz(42.6014, 45.0740, 16.8100)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB15D #5D78CC
analogous
#CC795D #CCB15D #B0CC5D
triadic
#CCB15D #5DCCB1 #B15DCC
tetradic
#CCB15D #5DCC79 #5D78CC #CC5DB0
square
#CCB15D #5DCC79 #5D78CC #CC5DB0
split-complementary
#CCB15D #5DB0CC #795DCC
monochromatic
#856F2A #B39538 #CCB15D #DBC78C #E9DEBA

Accessibility & contrast

On white

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

On black

10.01
#CCB15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB15D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB15D#FFFFFF#000000##000000
##CCB15D1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE55
Deuteranopia (green-blind)
#C8B660
Tritanopia (blue-blind)
#DBA59E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb15d;
/* rgb */ color: rgb(204, 177, 93);
/* oklch */ color: oklch(76.7% 0.109 91.9);
Tailwind
colors: {
  custom: {
    50: '#dec88d',
    500: '#ccb15d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb15d;
$custom-light: #dec88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb15d",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 93
  },
  "hsl": {
    "h": 45.405,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76656,
    "c": 0.1086,
    "h": 91.9
  },
  "luminance": 0.45072
}

Semantic roles & 50–950 ramp

primary
#CCB15D
secondary
#ACB7D9
accent
#6FDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB15D

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

Preview Lab → · Contrast checker → · Palette generator →

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