#CCB15B#CCB15B

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

Color values

HEX#CCB15B
RGBrgb(204, 177, 91)
HSLhsl(46, 53%, 58%)
HSVhsv(46, 55%, 80%)
CMYKcmyk(0%, 13.2%, 55.4%, 20%)
CIE-LABlab(72.92, -0.88, 47.00)
CIE-LCHlch(72.92, 47.01, 91.07°)
OKLaboklab(76.63% -0.0043 0.1104)
OKLCHoklch(76.63% 0.11 92.2)
XYZxyz(42.5140, 45.0390, 16.3495)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB15B #5B76CC
analogous
#CC795B #CCB15B #AECC5B
triadic
#CCB15B #5BCCB1 #B15BCC
tetradic
#CCB15B #5BCC79 #5B76CC #CC5BAE
square
#CCB15B #5BCC79 #5B76CC #CC5BAE
split-complementary
#CCB15B #5BAECC #795BCC
monochromatic
#846E29 #B29537 #CCB15B #DBC78A #E9DDB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB15B#FFFFFF#000000##000000
##CCB15B1.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)
#C1AE53
Deuteranopia (green-blind)
#C8B65E
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb15b;
/* rgb */ color: rgb(204, 177, 91);
/* oklch */ color: oklch(76.6% 0.110 92.2);
Tailwind
colors: {
  custom: {
    50: '#dec88c',
    500: '#ccb15b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb15b;
$custom-light: #dec88c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb15b",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 91
  },
  "hsl": {
    "h": 45.664,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7663,
    "c": 0.11049,
    "h": 92.2
  },
  "luminance": 0.45037
}

Semantic roles & 50–950 ramp

primary
#CCB15B
secondary
#ABB6D8
accent
#6EDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB15B

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

Preview Lab → · Contrast checker → · Palette generator →

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