#CCBA39#CCBA39

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

Color values

HEX#CCBA39
RGBrgb(204, 186, 57)
HSLhsl(53, 59%, 51%)
HSVhsv(53, 72%, 80%)
CMYKcmyk(0%, 8.8%, 72.1%, 20%)
CIE-LABlab(74.98, -7.74, 63.98)
CIE-LCHlch(74.98, 64.45, 96.90°)
OKLaboklab(78.17% -0.0279 0.1416)
OKLCHoklch(78.17% 0.144 101.1)
XYZxyz(43.2012, 48.2525, 10.9082)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA39 #394BCC
analogous
#CC7039 #CCBA39 #94CC39
triadic
#CCBA39 #39CCBA #BA39CC
tetradic
#CCBA39 #39CC70 #394BCC #CC3994
square
#CCBA39 #39CC70 #394BCC #CC3994
split-complementary
#CCBA39 #3994CC #7039CC
monochromatic
#6E641C #9F9029 #CCBA39 #D9CB6A #E5DC9A

Accessibility & contrast

On white

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

On black

10.65
#CCBA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA39
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA39#FFFFFF#000000##000000
##CCBA391.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccba39;
/* rgb */ color: rgb(204, 186, 57);
/* oklch */ color: oklch(78.2% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#dfce78',
    500: '#ccba39',
    950: '#000000',
  },
}
SCSS
$custom: #ccba39;
$custom-light: #dfce78;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba39",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 52.653,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.14432,
    "h": 101.1
  },
  "luminance": 0.48251
}

Semantic roles & 50–950 ramp

primary
#CCBA39
secondary
#9098D1
accent
#59E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CCBA39

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

Preview Lab → · Contrast checker → · Palette generator →

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