#CCBA3C#CCBA3C

#CCBA3C is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.142 H 101.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CCBA3C
RGBrgb(204, 186, 60)
HSLhsl(53, 59%, 52%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 8.8%, 70.6%, 20%)
CIE-LABlab(75.00, -7.59, 62.88)
CIE-LCHlch(75.00, 63.33, 96.89°)
OKLaboklab(78.19% -0.0271 0.1398)
OKLCHoklch(78.19% 0.142 101)
XYZxyz(43.2783, 48.2834, 11.3141)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA3C #3C4ECC
analogous
#CC723C #CCBA3C #96CC3C
triadic
#CCBA3C #3CCCBA #BA3CCC
tetradic
#CCBA3C #3CCC72 #3C4ECC #CC3C96
square
#CCBA3C #3CCC72 #3C4ECC #CC3C96
split-complementary
#CCBA3C #3C96CC #723CCC
monochromatic
#70661D #A1922A #CCBA3C #D9CB6D #E5DC9D

Accessibility & contrast

On white

1.97
#CCBA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CCBA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA3C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA3C#FFFFFF#000000##000000
##CCBA3C1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB528
Deuteranopia (green-blind)
#D0BC44
Tritanopia (blue-blind)
#DCADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba3c;
/* rgb */ color: rgb(204, 186, 60);
/* oklch */ color: oklch(78.2% 0.142 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfce79',
    500: '#ccba3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccba3c;
$custom-light: #dfce79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba3c",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 60
  },
  "hsl": {
    "h": 52.5,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.14243,
    "h": 101
  },
  "luminance": 0.48281
}

Semantic roles & 50–950 ramp

primary
#CCBA3C
secondary
#929AD1
accent
#5AE246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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