#CCBA5D#CCBA5D

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

Color values

HEX#CCBA5D
RGBrgb(204, 186, 93)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 54%, 80%)
CMYKcmyk(0%, 8.8%, 54.4%, 20%)
CIE-LABlab(75.29, -5.44, 48.82)
CIE-LCHlch(75.29, 49.13, 96.36°)
OKLaboklab(78.52% -0.0172 0.1146)
OKLCHoklch(78.52% 0.116 98.6)
XYZxyz(44.4381, 48.7473, 17.4222)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA5D #5D6FCC
analogous
#CC825D #CCBA5D #A6CC5D
triadic
#CCBA5D #5DCCBA #BA5DCC
tetradic
#CCBA5D #5DCC82 #5D6FCC #CC5DA6
square
#CCBA5D #5DCC82 #5D6FCC #CC5DA6
split-complementary
#CCBA5D #5DA6CC #825DCC
monochromatic
#85762A #B39F38 #CCBA5D #DBCE8C #E9E2BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA5D#FFFFFF#000000##000000
##CCBA5D1.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)
#C9B654
Deuteranopia (green-blind)
#CEBC61
Tritanopia (blue-blind)
#DAAEA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba5d;
/* rgb */ color: rgb(204, 186, 93);
/* oklch */ color: oklch(78.5% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#dece8d',
    500: '#ccba5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccba5d;
$custom-light: #dece8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba5d",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 50.27,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78516,
    "c": 0.11586,
    "h": 98.6
  },
  "luminance": 0.48745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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