#CCBA4C#CCBA4C

#CCBA4C is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.131 H 100.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CCBA4C
RGBrgb(204, 186, 76)
HSLhsl(52, 56%, 55%)
HSVhsv(52, 63%, 80%)
CMYKcmyk(0%, 8.8%, 62.7%, 20%)
CIE-LABlab(75.13, -6.68, 56.44)
CIE-LCHlch(75.13, 56.83, 96.75°)
OKLaboklab(78.33% -0.0228 0.1288)
OKLCHoklch(78.33% 0.131 100)
XYZxyz(43.7670, 48.4789, 13.8880)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA4C #4C5ECC
analogous
#CC7A4C #CCBA4C #9ECC4C
triadic
#CCBA4C #4CCCBA #BA4CCC
tetradic
#CCBA4C #4CCC7A #4C5ECC #CC4C9E
square
#CCBA4C #4CCC7A #4C5ECC #CC4C9E
split-complementary
#CCBA4C #4C9ECC #7A4CCC
monochromatic
#7B6E23 #AA9931 #CCBA4C #DACC7C #E7DFAB

Accessibility & contrast

On white

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

On black

10.70
#CCBA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA4C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA4C#FFFFFF#000000##000000
##CCBA4C1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53F
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#DBADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba4c;
/* rgb */ color: rgb(204, 186, 76);
/* oklch */ color: oklch(78.3% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#dfce83',
    500: '#ccba4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccba4c;
$custom-light: #dfce83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba4c",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 51.563,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78329,
    "c": 0.13079,
    "h": 100
  },
  "luminance": 0.48477
}

Semantic roles & 50–950 ramp

primary
#CCBA4C
secondary
#9FA7D5
accent
#5EDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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