#CCBA59#CCBA59

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

Color values

HEX#CCBA59
RGBrgb(204, 186, 89)
HSLhsl(51, 53%, 57%)
HSVhsv(51, 56%, 80%)
CMYKcmyk(0%, 8.8%, 56.4%, 20%)
CIE-LABlab(75.25, -5.76, 50.67)
CIE-LCHlch(75.25, 51.00, 96.48°)
OKLaboklab(78.47% -0.0186 0.1181)
OKLCHoklch(78.47% 0.12 98.9)
XYZxyz(44.2655, 48.6783, 16.5134)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA59 #596BCC
analogous
#CC8159 #CCBA59 #A4CC59
triadic
#CCBA59 #59CCBA #BA59CC
tetradic
#CCBA59 #59CC81 #596BCC #CC59A4
square
#CCBA59 #59CC81 #596BCC #CC59A4
split-complementary
#CCBA59 #59A4CC #8159CC
monochromatic
#837428 #B19E36 #CCBA59 #DACD88 #E9E1B7

Accessibility & contrast

On white

1.96
#CCBA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA59#FFFFFF#000000##000000
##CCBA591.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64F
Deuteranopia (green-blind)
#CFBC5E
Tritanopia (blue-blind)
#DAAEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba59;
/* rgb */ color: rgb(204, 186, 89);
/* oklch */ color: oklch(78.5% 0.120 98.9);
Tailwind
colors: {
  custom: {
    50: '#dece8b',
    500: '#ccba59',
    950: '#000000',
  },
}
SCSS
$custom: #ccba59;
$custom-light: #dece8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba59",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 50.609,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.11959,
    "h": 98.9
  },
  "luminance": 0.48676
}

Semantic roles & 50–950 ramp

primary
#CCBA59
secondary
#A9B0D8
accent
#62DC4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBA59

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

Preview Lab → · Contrast checker → · Palette generator →

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