#CCB85E#CCB85E

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

Color values

HEX#CCB85E
RGBrgb(204, 184, 94)
HSLhsl(49, 52%, 58%)
HSVhsv(49, 54%, 80%)
CMYKcmyk(0%, 9.8%, 53.9%, 20%)
CIE-LABlab(74.78, -4.31, 47.74)
CIE-LCHlch(74.78, 47.94, 95.16°)
OKLaboklab(78.11% -0.0139 0.1123)
OKLCHoklch(78.11% 0.113 97)
XYZxyz(44.0643, 47.9283, 17.5175)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB85E #5E72CC
analogous
#CC815E #CCB85E #A9CC5E
triadic
#CCB85E #5ECCB8 #B85ECC
tetradic
#CCB85E #5ECC81 #5E72CC #CC5EA9
square
#CCB85E #5ECC81 #5E72CC #CC5EA9
split-complementary
#CCB85E #5EA9CC #815ECC
monochromatic
#85752A #B49D39 #CCB85E #DBCC8C #E9E1BB

Accessibility & contrast

On white

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

On black

10.59
#CCB85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB85E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB85E#FFFFFF#000000##000000
##CCB85E1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B456
Deuteranopia (green-blind)
#CDBB62
Tritanopia (blue-blind)
#DAADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb85e;
/* rgb */ color: rgb(204, 184, 94);
/* oklch */ color: oklch(78.1% 0.113 97.0);
Tailwind
colors: {
  custom: {
    50: '#decd8e',
    500: '#ccb85e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb85e;
$custom-light: #decd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb85e",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 49.091,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78113,
    "c": 0.11316,
    "h": 97
  },
  "luminance": 0.47927
}

Semantic roles & 50–950 ramp

primary
#CCB85E
secondary
#ADB5D9
accent
#66DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB85E

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

Preview Lab → · Contrast checker → · Palette generator →

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