#CCB95F#CCB95F

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

Color values

HEX#CCB95F
RGBrgb(204, 185, 95)
HSLhsl(50, 52%, 59%)
HSVhsv(50, 53%, 80%)
CMYKcmyk(0%, 9.3%, 53.4%, 20%)
CIE-LABlab(75.05, -4.75, 47.58)
CIE-LCHlch(75.05, 47.82, 95.70°)
OKLaboklab(78.33% -0.015 0.1121)
OKLCHoklch(78.33% 0.113 97.6)
XYZxyz(44.3179, 48.3633, 17.8249)
Luminance0.4836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB95F #5F72CC
analogous
#CC825F #CCB95F #A8CC5F
triadic
#CCB95F #5FCCB9 #B95FCC
tetradic
#CCB95F #5FCC82 #5F72CC #CC5FA8
square
#CCB95F #5FCC82 #5F72CC #CC5FA8
split-complementary
#CCB95F #5FA8CC #825FCC
monochromatic
#86762B #B49F39 #CCB95F #DBCD8D #EAE2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB95F#FFFFFF#000000##000000
##CCB95F1.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)
#C8B557
Deuteranopia (green-blind)
#CDBC63
Tritanopia (blue-blind)
#DAAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb95f;
/* rgb */ color: rgb(204, 185, 95);
/* oklch */ color: oklch(78.3% 0.113 97.6);
Tailwind
colors: {
  custom: {
    50: '#decd8f',
    500: '#ccb95f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb95f;
$custom-light: #decd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb95f",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 49.541,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78333,
    "c": 0.11306,
    "h": 97.6
  },
  "luminance": 0.48362
}

Semantic roles & 50–950 ramp

primary
#CCB95F
secondary
#AEB5D9
accent
#66DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCB95F

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

Preview Lab → · Contrast checker → · Palette generator →

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