#CCBA7D#CCBA7D

#CCBA7D is a light, moderate yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.082 H 93.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CCBA7D
RGBrgb(204, 186, 125)
HSLhsl(46, 44%, 65%)
HSVhsv(46, 39%, 80%)
CMYKcmyk(0%, 8.8%, 38.7%, 20%)
CIE-LABlab(75.72, -2.33, 33.26)
CIE-LCHlch(75.72, 33.34, 94.00°)
OKLaboklab(79% -0.0051 0.0819)
OKLCHoklch(79% 0.082 93.6)
XYZxyz(46.1634, 49.4374, 26.5087)
Luminance0.4944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA7D #7D8FCC
analogous
#CC937D #CCBA7D #B7CC7D
triadic
#CCBA7D #7DCCBA #BA7DCC
tetradic
#CCBA7D #7DCC93 #7D8FCC #CC7DB7
square
#CCBA7D #7DCC93 #7D8FCC #CC7DB7
split-complementary
#CCBA7D #7DB7CC #937DCC
monochromatic
#94803A #BBA351 #CCBA7D #DDD1A9 #EEE9D5

Accessibility & contrast

On white

1.93
#CCBA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#CCBA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA7D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA7D#FFFFFF#000000##000000
##CCBA7D1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#CBBD7F
Tritanopia (blue-blind)
#D8B1AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccba7d;
/* rgb */ color: rgb(204, 186, 125);
/* oklch */ color: oklch(79.0% 0.082 93.6);
Tailwind
colors: {
  custom: {
    50: '#ddcea3',
    500: '#ccba7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccba7d;
$custom-light: #ddcea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba7d",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 125
  },
  "hsl": {
    "h": 46.329,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.78995,
    "c": 0.08209,
    "h": 93.6
  },
  "luminance": 0.49436
}

Semantic roles & 50–950 ramp

primary
#CCBA7D
secondary
#C5CBE0
accent
#4EB72F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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