#CCB95B#CCB95B

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

Color values

HEX#CCB95B
RGBrgb(204, 185, 91)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 9.3%, 55.4%, 20%)
CIE-LABlab(75.01, -5.08, 49.45)
CIE-LCHlch(75.01, 49.71, 95.86°)
OKLaboklab(78.28% -0.0164 0.1157)
OKLCHoklch(78.28% 0.117 98.1)
XYZxyz(44.1407, 48.2924, 16.8918)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB95B #5B6ECC
analogous
#CC815B #CCB95B #A6CC5B
triadic
#CCB95B #5BCCB9 #B95BCC
tetradic
#CCB95B #5BCC81 #5B6ECC #CC5BA6
square
#CCB95B #5BCC81 #5B6ECC #CC5BA6
split-complementary
#CCB95B #5BA6CC #815BCC
monochromatic
#847429 #B29E37 #CCB95B #DBCD8A #E9E1B8

Accessibility & contrast

On white

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

On black

10.66
#CCB95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB95B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB95B#FFFFFF#000000##000000
##CCB95B1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb95b;
/* rgb */ color: rgb(204, 185, 91);
/* oklch */ color: oklch(78.3% 0.117 98.1);
Tailwind
colors: {
  custom: {
    50: '#decd8c',
    500: '#ccb95b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb95b;
$custom-light: #decd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb95b",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 49.912,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78284,
    "c": 0.11686,
    "h": 98.1
  },
  "luminance": 0.48291
}

Semantic roles & 50–950 ramp

primary
#CCB95B
secondary
#ABB2D8
accent
#64DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB95B

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

Preview Lab → · Contrast checker → · Palette generator →

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