#CCBA5C#CCBA5C

#CCBA5C is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.117 H 98.7°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CCBA5C
RGBrgb(204, 186, 92)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 8.8%, 54.9%, 20%)
CIE-LABlab(75.28, -5.52, 49.29)
CIE-LCHlch(75.28, 49.60, 96.39°)
OKLaboklab(78.5% -0.0176 0.1155)
OKLCHoklch(78.5% 0.117 98.7)
XYZxyz(44.3941, 48.7297, 17.1905)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA5C #5C6ECC
analogous
#CC825C #CCBA5C #A6CC5C
triadic
#CCBA5C #5CCCBA #BA5CCC
tetradic
#CCBA5C #5CCC82 #5C6ECC #CC5CA6
square
#CCBA5C #5CCC82 #5C6ECC #CC5CA6
split-complementary
#CCBA5C #5CA6CC #825CCC
monochromatic
#847629 #B39F38 #CCBA5C #DBCE8B #E9E1B9

Accessibility & contrast

On white

1.95
#CCBA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CCBA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA5C
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA5C#FFFFFF#000000##000000
##CCBA5C1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B653
Deuteranopia (green-blind)
#CEBC60
Tritanopia (blue-blind)
#DAAEA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba5c;
/* rgb */ color: rgb(204, 186, 92);
/* oklch */ color: oklch(78.5% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#dece8d',
    500: '#ccba5c',
    950: '#000000',
  },
}
SCSS
$custom: #ccba5c;
$custom-light: #dece8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba5c",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 92
  },
  "hsl": {
    "h": 50.357,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78504,
    "c": 0.1168,
    "h": 98.7
  },
  "luminance": 0.48728
}

Semantic roles & 50–950 ramp

primary
#CCBA5C
secondary
#ACB3D8
accent
#63DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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