#CCB15E#CCB15E

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

Color values

HEX#CCB15E
RGBrgb(204, 177, 94)
HSLhsl(45, 52%, 58%)
HSVhsv(45, 54%, 80%)
CMYKcmyk(0%, 13.2%, 53.9%, 20%)
CIE-LABlab(72.95, -0.63, 45.58)
CIE-LCHlch(72.95, 45.58, 90.80°)
OKLaboklab(76.67% -0.0032 0.1076)
OKLCHoklch(76.67% 0.108 91.7)
XYZxyz(42.6460, 45.0918, 17.0448)
Luminance0.4509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB15E #5E79CC
analogous
#CC7A5E #CCB15E #B0CC5E
triadic
#CCB15E #5ECCB1 #B15ECC
tetradic
#CCB15E #5ECC7A #5E79CC #CC5EB0
square
#CCB15E #5ECC7A #5E79CC #CC5EB0
split-complementary
#CCB15E #5EB0CC #7A5ECC
monochromatic
#856F2A #B49639 #CCB15E #DBC88C #E9DEBB

Accessibility & contrast

On white

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

On black

10.02
#CCB15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB15E
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB15E#FFFFFF#000000##000000
##CCB15E1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE57
Deuteranopia (green-blind)
#C8B661
Tritanopia (blue-blind)
#DAA59E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb15e;
/* rgb */ color: rgb(204, 177, 94);
/* oklch */ color: oklch(76.7% 0.108 91.7);
Tailwind
colors: {
  custom: {
    50: '#dec88e',
    500: '#ccb15e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb15e;
$custom-light: #dec88e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb15e",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 94
  },
  "hsl": {
    "h": 45.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76669,
    "c": 0.10765,
    "h": 91.7
  },
  "luminance": 0.4509
}

Semantic roles & 50–950 ramp

primary
#CCB15E
secondary
#ADB8D9
accent
#70DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB15E

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

Preview Lab → · Contrast checker → · Palette generator →

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