#CCB85D#CCB85D

#CCB85D is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.114 H 97.2°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CCB85D
RGBrgb(204, 184, 93)
HSLhsl(49, 52%, 58%)
HSVhsv(49, 54%, 80%)
CMYKcmyk(0%, 9.8%, 54.4%, 20%)
CIE-LABlab(74.77, -4.40, 48.21)
CIE-LCHlch(74.77, 48.41, 95.21°)
OKLaboklab(78.1% -0.0142 0.1132)
OKLCHoklch(78.1% 0.114 97.2)
XYZxyz(44.0197, 47.9105, 17.2827)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB85D #5D71CC
analogous
#CC805D #CCB85D #A8CC5D
triadic
#CCB85D #5DCCB8 #B85DCC
tetradic
#CCB85D #5DCC80 #5D71CC #CC5DA8
square
#CCB85D #5DCC80 #5D71CC #CC5DA8
split-complementary
#CCB85D #5DA8CC #805DCC
monochromatic
#85742A #B39D38 #CCB85D #DBCC8C #E9E1BA

Accessibility & contrast

On white

1.98
#CCB85D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CCB85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB85D
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB85D#FFFFFF#000000##000000
##CCB85D1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B455
Deuteranopia (green-blind)
#CDBB61
Tritanopia (blue-blind)
#DAACA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb85d;
/* rgb */ color: rgb(204, 184, 93);
/* oklch */ color: oklch(78.1% 0.114 97.2);
Tailwind
colors: {
  custom: {
    50: '#decd8d',
    500: '#ccb85d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb85d;
$custom-light: #decd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb85d",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 93
  },
  "hsl": {
    "h": 49.189,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.781,
    "c": 0.11412,
    "h": 97.2
  },
  "luminance": 0.47909
}

Semantic roles & 50–950 ramp

primary
#CCB85D
secondary
#ACB4D9
accent
#66DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB85D

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

Preview Lab → · Contrast checker → · Palette generator →

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