#CCB85A#CCB85A

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

Color values

HEX#CCB85A
RGBrgb(204, 184, 90)
HSLhsl(49, 53%, 58%)
HSVhsv(49, 56%, 80%)
CMYKcmyk(0%, 9.8%, 55.9%, 20%)
CIE-LABlab(74.74, -4.64, 49.60)
CIE-LCHlch(74.74, 49.82, 95.34°)
OKLaboklab(78.06% -0.0153 0.1159)
OKLCHoklch(78.06% 0.117 97.5)
XYZxyz(43.8894, 47.8584, 16.5966)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB85A #5A6ECC
analogous
#CC7F5A #CCB85A #A7CC5A
triadic
#CCB85A #5ACCB8 #B85ACC
tetradic
#CCB85A #5ACC7F #5A6ECC #CC5AA7
square
#CCB85A #5ACC7F #5A6ECC #CC5AA7
split-complementary
#CCB85A #5AA7CC #7F5ACC
monochromatic
#837329 #B29C37 #CCB85A #DACC89 #E9E0B7

Accessibility & contrast

On white

1.99
#CCB85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CCB85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB85A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB85A#FFFFFF#000000##000000
##CCB85A1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb85a;
/* rgb */ color: rgb(204, 184, 90);
/* oklch */ color: oklch(78.1% 0.117 97.5);
Tailwind
colors: {
  custom: {
    50: '#decd8b',
    500: '#ccb85a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb85a;
$custom-light: #decd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb85a",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 90
  },
  "hsl": {
    "h": 49.474,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78064,
    "c": 0.11694,
    "h": 97.5
  },
  "luminance": 0.47857
}

Semantic roles & 50–950 ramp

primary
#CCB85A
secondary
#AAB2D8
accent
#65DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB85A

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

Preview Lab → · Contrast checker → · Palette generator →

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