#CCBA65#CCBA65

#CCBA65 is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.108 H 97.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CCBA65
RGBrgb(204, 186, 101)
HSLhsl(50, 50%, 60%)
HSVhsv(50, 50%, 80%)
CMYKcmyk(0%, 8.8%, 50.5%, 20%)
CIE-LABlab(75.39, -4.76, 45.05)
CIE-LCHlch(75.39, 45.30, 96.03°)
OKLaboklab(78.62% -0.0144 0.1071)
OKLCHoklch(78.62% 0.108 97.6)
XYZxyz(44.8111, 48.8965, 19.3869)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA65 #6577CC
analogous
#CC8765 #CCBA65 #AACC65
triadic
#CCBA65 #65CCBA #BA65CC
tetradic
#CCBA65 #65CC87 #6577CC #CC65AA
square
#CCBA65 #65CC87 #6577CC #CC65AA
split-complementary
#CCBA65 #65AACC #8765CC
monochromatic
#89792D #B7A23D #CCBA65 #DBCF93 #EAE3C1

Accessibility & contrast

On white

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

On black

10.78
#CCBA65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA65
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA65#FFFFFF#000000##000000
##CCBA651.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65E
Deuteranopia (green-blind)
#CEBC69
Tritanopia (blue-blind)
#D9AFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccba65;
/* rgb */ color: rgb(204, 186, 101);
/* oklch */ color: oklch(78.6% 0.108 97.6);
Tailwind
colors: {
  custom: {
    50: '#dece93',
    500: '#ccba65',
    950: '#000000',
  },
}
SCSS
$custom: #ccba65;
$custom-light: #dece93;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba65",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 101
  },
  "hsl": {
    "h": 49.515,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7862,
    "c": 0.10803,
    "h": 97.6
  },
  "luminance": 0.48895
}

Semantic roles & 50–950 ramp

primary
#CCBA65
secondary
#B2B9DA
accent
#66DA4E
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBA65

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

Preview Lab → · Contrast checker → · Palette generator →

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