#CCB95A#CCB95A

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

Color values

HEX#CCB95A
RGBrgb(204, 185, 90)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 56%, 80%)
CMYKcmyk(0%, 9.3%, 55.9%, 20%)
CIE-LABlab(75.00, -5.16, 49.91)
CIE-LCHlch(75.00, 50.17, 95.90°)
OKLaboklab(78.27% -0.0168 0.1166)
OKLCHoklch(78.27% 0.118 98.2)
XYZxyz(44.0979, 48.2753, 16.6661)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB95A #5A6DCC
analogous
#CC805A #CCB95A #A6CC5A
triadic
#CCB95A #5ACCB9 #B95ACC
tetradic
#CCB95A #5ACC80 #5A6DCC #CC5AA6
square
#CCB95A #5ACC80 #5A6DCC #CC5AA6
split-complementary
#CCB95A #5AA6CC #805ACC
monochromatic
#837429 #B29D37 #CCB95A #DACD89 #E9E1B7

Accessibility & contrast

On white

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

On black

10.65
#CCB95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB95A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB95A#FFFFFF#000000##000000
##CCB95A1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb95a;
/* rgb */ color: rgb(204, 185, 90);
/* oklch */ color: oklch(78.3% 0.118 98.2);
Tailwind
colors: {
  custom: {
    50: '#decd8b',
    500: '#ccb95a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb95a;
$custom-light: #decd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb95a",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 50,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78272,
    "c": 0.11779,
    "h": 98.2
  },
  "luminance": 0.48273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB95A

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

Preview Lab → · Contrast checker → · Palette generator →

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