#CCB95D#CCB95D

#CCB95D is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.115 H 97.9°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CCB95D
RGBrgb(204, 185, 93)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 54%, 80%)
CMYKcmyk(0%, 9.3%, 54.4%, 20%)
CIE-LABlab(75.03, -4.92, 48.52)
CIE-LCHlch(75.03, 48.77, 95.79°)
OKLaboklab(78.31% -0.0157 0.1139)
OKLCHoklch(78.31% 0.115 97.9)
XYZxyz(44.2281, 48.3274, 17.3522)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB95D #5D70CC
analogous
#CC815D #CCB95D #A7CC5D
triadic
#CCB95D #5DCCB9 #B95DCC
tetradic
#CCB95D #5DCC81 #5D70CC #CC5DA7
square
#CCB95D #5DCC81 #5D70CC #CC5DA7
split-complementary
#CCB95D #5DA7CC #815DCC
monochromatic
#85752A #B39E38 #CCB95D #DBCD8C #E9E1BA

Accessibility & contrast

On white

1.97
#CCB95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#CCB95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB95D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB95D#FFFFFF#000000##000000
##CCB95D1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B554
Deuteranopia (green-blind)
#CEBC61
Tritanopia (blue-blind)
#DAADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb95d;
/* rgb */ color: rgb(204, 185, 93);
/* oklch */ color: oklch(78.3% 0.115 97.9);
Tailwind
colors: {
  custom: {
    50: '#decd8d',
    500: '#ccb95d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb95d;
$custom-light: #decd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb95d",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 93
  },
  "hsl": {
    "h": 49.73,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78308,
    "c": 0.11498,
    "h": 97.9
  },
  "luminance": 0.48326
}

Semantic roles & 50–950 ramp

primary
#CCB95D
secondary
#ACB4D9
accent
#65DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB95D

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

Preview Lab → · Contrast checker → · Palette generator →

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