#CCB45D#CCB45D

#CCB45D is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.111 H 94.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CCB45D
RGBrgb(204, 180, 93)
HSLhsl(47, 52%, 58%)
HSVhsv(47, 54%, 80%)
CMYKcmyk(0%, 11.8%, 54.4%, 20%)
CIE-LABlab(73.72, -2.30, 46.98)
CIE-LCHlch(73.72, 47.03, 92.80°)
OKLaboklab(77.27% -0.0082 0.1106)
OKLCHoklch(77.27% 0.111 94.2)
XYZxyz(43.2005, 46.2721, 17.0097)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB45D #5D75CC
analogous
#CC7C5D #CCB45D #ACCC5D
triadic
#CCB45D #5DCCB4 #B45DCC
tetradic
#CCB45D #5DCC7C #5D75CC #CC5DAC
square
#CCB45D #5DCC7C #5D75CC #CC5DAC
split-complementary
#CCB45D #5DACCC #7C5DCC
monochromatic
#85712A #B39938 #CCB45D #DBCA8C #E9DFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB45D#FFFFFF#000000##000000
##CCB45D1.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)
#C4B155
Deuteranopia (green-blind)
#CAB861
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb45d;
/* rgb */ color: rgb(204, 180, 93);
/* oklch */ color: oklch(77.3% 0.111 94.2);
Tailwind
colors: {
  custom: {
    50: '#deca8d',
    500: '#ccb45d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb45d;
$custom-light: #deca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb45d",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 93
  },
  "hsl": {
    "h": 47.027,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77273,
    "c": 0.11085,
    "h": 94.2
  },
  "luminance": 0.4627
}

Semantic roles & 50–950 ramp

primary
#CCB45D
secondary
#ACB6D9
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB45D

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

Preview Lab → · Contrast checker → · Palette generator →

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