#CCBA68#CCBA68

#CCBA68 is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.7% C 0.105 H 97.3°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CCBA68
RGBrgb(204, 186, 104)
HSLhsl(49, 50%, 60%)
HSVhsv(49, 49%, 80%)
CMYKcmyk(0%, 8.8%, 49%, 20%)
CIE-LABlab(75.42, -4.49, 43.61)
CIE-LCHlch(75.42, 43.84, 95.87°)
OKLaboklab(78.66% -0.0133 0.1041)
OKLCHoklch(78.66% 0.105 97.3)
XYZxyz(44.9608, 48.9564, 20.1752)
Luminance0.4895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA68 #687ACC
analogous
#CC8868 #CCBA68 #ACCC68
triadic
#CCBA68 #68CCBA #BA68CC
tetradic
#CCBA68 #68CC88 #687ACC #CC68AC
square
#CCBA68 #68CC88 #687ACC #CC68AC
split-complementary
#CCBA68 #68ACCC #8868CC
monochromatic
#8B7A2F #B8A23E #CCBA68 #DBCF96 #EBE4C3

Accessibility & contrast

On white

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

On black

10.79
#CCBA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA68
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA68#FFFFFF#000000##000000
##CCBA681.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B661
Deuteranopia (green-blind)
#CDBD6B
Tritanopia (blue-blind)
#D9AFA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccba68;
/* rgb */ color: rgb(204, 186, 104);
/* oklch */ color: oklch(78.7% 0.105 97.3);
Tailwind
colors: {
  custom: {
    50: '#ddce95',
    500: '#ccba68',
    950: '#000000',
  },
}
SCSS
$custom: #ccba68;
$custom-light: #ddce95;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba68",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 104
  },
  "hsl": {
    "h": 49.2,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78662,
    "c": 0.10497,
    "h": 97.3
  },
  "luminance": 0.48955
}

Semantic roles & 50–950 ramp

primary
#CCBA68
secondary
#B5BCDB
accent
#43BD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBA68

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

Preview Lab → · Contrast checker → · Palette generator →

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