#CCBA5B#CCBA5B

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

Color values

HEX#CCBA5B
RGBrgb(204, 186, 91)
HSLhsl(50, 53%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 8.8%, 55.4%, 20%)
CIE-LABlab(75.27, -5.60, 49.75)
CIE-LCHlch(75.27, 50.07, 96.42°)
OKLaboklab(78.49% -0.0179 0.1164)
OKLCHoklch(78.49% 0.118 98.8)
XYZxyz(44.3507, 48.7123, 16.9618)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA5B #5B6DCC
analogous
#CC815B #CCBA5B #A6CC5B
triadic
#CCBA5B #5BCCBA #BA5BCC
tetradic
#CCBA5B #5BCC81 #5B6DCC #CC5BA6
square
#CCBA5B #5BCC81 #5B6DCC #CC5BA6
split-complementary
#CCBA5B #5BA6CC #815BCC
monochromatic
#847529 #B29F37 #CCBA5B #DBCE8A #E9E1B8

Accessibility & contrast

On white

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

On black

10.74
#CCBA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA5B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA5B#FFFFFF#000000##000000
##CCBA5B1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccba5b;
/* rgb */ color: rgb(204, 186, 91);
/* oklch */ color: oklch(78.5% 0.118 98.8);
Tailwind
colors: {
  custom: {
    50: '#dece8c',
    500: '#ccba5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccba5b;
$custom-light: #dece8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba5b",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 91
  },
  "hsl": {
    "h": 50.442,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78492,
    "c": 0.11773,
    "h": 98.8
  },
  "luminance": 0.48711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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