#CCB85F#CCB85F

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

Color values

HEX#CCB85F
RGBrgb(204, 184, 95)
HSLhsl(49, 52%, 59%)
HSVhsv(49, 53%, 80%)
CMYKcmyk(0%, 9.8%, 53.4%, 20%)
CIE-LABlab(74.79, -4.23, 47.27)
CIE-LCHlch(74.79, 47.46, 95.11°)
OKLaboklab(78.13% -0.0135 0.1114)
OKLCHoklch(78.13% 0.112 96.9)
XYZxyz(44.1094, 47.9464, 17.7554)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB85F #5F73CC
analogous
#CC815F #CCB85F #A9CC5F
triadic
#CCB85F #5FCCB8 #B85FCC
tetradic
#CCB85F #5FCC81 #5F73CC #CC5FA9
square
#CCB85F #5FCC81 #5F73CC #CC5FA9
split-complementary
#CCB85F #5FA9CC #815FCC
monochromatic
#86752B #B49E39 #CCB85F #DBCD8D #EAE1BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB85F#FFFFFF#000000##000000
##CCB85F1.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)
#C7B457
Deuteranopia (green-blind)
#CDBB63
Tritanopia (blue-blind)
#DAADA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb85f;
/* rgb */ color: rgb(204, 184, 95);
/* oklch */ color: oklch(78.1% 0.112 96.9);
Tailwind
colors: {
  custom: {
    50: '#decd8f',
    500: '#ccb85f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb85f;
$custom-light: #decd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb85f",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 48.991,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78126,
    "c": 0.11221,
    "h": 96.9
  },
  "luminance": 0.47945
}

Semantic roles & 50–950 ramp

primary
#CCB85F
secondary
#AEB6D9
accent
#67DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB85F

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

Preview Lab → · Contrast checker → · Palette generator →

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