#CCB158#CCB158

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

Color values

HEX#CCB158
RGBrgb(204, 177, 88)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 13.2%, 56.9%, 20%)
CIE-LABlab(72.88, -1.12, 48.41)
CIE-LCHlch(72.88, 48.43, 91.32°)
OKLaboklab(76.59% -0.0053 0.1131)
OKLCHoklch(76.59% 0.113 92.7)
XYZxyz(42.3872, 44.9883, 15.6816)
Luminance0.4499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB158 #5873CC
analogous
#CC7758 #CCB158 #ADCC58
triadic
#CCB158 #58CCB1 #B158CC
tetradic
#CCB158 #58CC77 #5873CC #CC58AD
square
#CCB158 #58CC77 #5873CC #CC58AD
split-complementary
#CCB158 #58ADCC #7758CC
monochromatic
#826D28 #B19436 #CCB158 #DAC787 #E9DDB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB158#FFFFFF#000000##000000
##CCB1581.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)
#C1AE4F
Deuteranopia (green-blind)
#C8B65C
Tritanopia (blue-blind)
#DBA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ccb158;
/* rgb */ color: rgb(204, 177, 88);
/* oklch */ color: oklch(76.6% 0.113 92.7);
Tailwind
colors: {
  custom: {
    50: '#dec88a',
    500: '#ccb158',
    950: '#000000',
  },
}
SCSS
$custom: #ccb158;
$custom-light: #dec88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb158",
  "rgb": {
    "r": 204,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 46.034,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76593,
    "c": 0.11327,
    "h": 92.7
  },
  "luminance": 0.44986
}

Semantic roles & 50–950 ramp

primary
#CCB158
secondary
#A8B3D7
accent
#6DDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB158

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

Preview Lab → · Contrast checker → · Palette generator →

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