#CCB45B#CCB45B

#CCB45B is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.113 H 94.5°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CCB45B
RGBrgb(204, 180, 91)
HSLhsl(47, 53%, 58%)
HSVhsv(47, 55%, 80%)
CMYKcmyk(0%, 11.8%, 55.4%, 20%)
CIE-LABlab(73.70, -2.46, 47.92)
CIE-LCHlch(73.70, 47.98, 92.94°)
OKLaboklab(77.25% -0.0089 0.1124)
OKLCHoklch(77.25% 0.113 94.5)
XYZxyz(43.1131, 46.2372, 16.5492)
Luminance0.4623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB45B #5B73CC
analogous
#CC7C5B #CCB45B #ABCC5B
triadic
#CCB45B #5BCCB4 #B45BCC
tetradic
#CCB45B #5BCC7C #5B73CC #CC5BAB
square
#CCB45B #5BCC7C #5B73CC #CC5BAB
split-complementary
#CCB45B #5BABCC #7C5BCC
monochromatic
#847029 #B29837 #CCB45B #DBC98A #E9DFB8

Accessibility & contrast

On white

2.05
#CCB45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#CCB45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB45B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB45B#FFFFFF#000000##000000
##CCB45B1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B153
Deuteranopia (green-blind)
#CAB85F
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb45b;
/* rgb */ color: rgb(204, 180, 91);
/* oklch */ color: oklch(77.2% 0.113 94.5);
Tailwind
colors: {
  custom: {
    50: '#deca8c',
    500: '#ccb45b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb45b;
$custom-light: #deca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb45b",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 91
  },
  "hsl": {
    "h": 47.257,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77247,
    "c": 0.11275,
    "h": 94.5
  },
  "luminance": 0.46235
}

Semantic roles & 50–950 ramp

primary
#CCB45B
secondary
#ABB4D8
accent
#6ADC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB45B

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

Preview Lab → · Contrast checker → · Palette generator →

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