#CCBA5E#CCBA5E

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

Color values

HEX#CCBA5E
RGBrgb(204, 186, 94)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 54%, 80%)
CMYKcmyk(0%, 8.8%, 53.9%, 20%)
CIE-LABlab(75.31, -5.36, 48.36)
CIE-LCHlch(75.31, 48.65, 96.32°)
OKLaboklab(78.53% -0.0169 0.1137)
OKLCHoklch(78.53% 0.115 98.5)
XYZxyz(44.4827, 48.7651, 17.6570)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA5E #5E70CC
analogous
#CC835E #CCBA5E #A7CC5E
triadic
#CCBA5E #5ECCBA #BA5ECC
tetradic
#CCBA5E #5ECC83 #5E70CC #CC5EA7
square
#CCBA5E #5ECC83 #5E70CC #CC5EA7
split-complementary
#CCBA5E #5EA7CC #835ECC
monochromatic
#85762A #B4A039 #CCBA5E #DBCE8C #E9E2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA5E#FFFFFF#000000##000000
##CCBA5E1.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)
#C9B655
Deuteranopia (green-blind)
#CEBC62
Tritanopia (blue-blind)
#DAAFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba5e;
/* rgb */ color: rgb(204, 186, 94);
/* oklch */ color: oklch(78.5% 0.115 98.5);
Tailwind
colors: {
  custom: {
    50: '#dece8e',
    500: '#ccba5e',
    950: '#000000',
  },
}
SCSS
$custom: #ccba5e;
$custom-light: #dece8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba5e",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 50.182,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78529,
    "c": 0.1149,
    "h": 98.5
  },
  "luminance": 0.48763
}

Semantic roles & 50–950 ramp

primary
#CCBA5E
secondary
#ADB4D9
accent
#64DB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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