#CCBA3B#CCBA3B

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

Color values

HEX#CCBA3B
RGBrgb(204, 186, 59)
HSLhsl(53, 59%, 52%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 8.8%, 71.1%, 20%)
CIE-LABlab(75.00, -7.64, 63.25)
CIE-LCHlch(75.00, 63.71, 96.89°)
OKLaboklab(78.19% -0.0274 0.1404)
OKLCHoklch(78.19% 0.143 101)
XYZxyz(43.2521, 48.2729, 11.1762)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA3B #3B4DCC
analogous
#CC723B #CCBA3B #96CC3B
triadic
#CCBA3B #3BCCBA #BA3BCC
tetradic
#CCBA3B #3BCC72 #3B4DCC #CC3B96
square
#CCBA3B #3BCC72 #3B4DCC #CC3B96
split-complementary
#CCBA3B #3B96CC #723BCC
monochromatic
#70651D #A0912A #CCBA3B #D9CB6C #E5DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBA3B#FFFFFF#000000##000000
##CCBA3B1.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)
#CBB527
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#DCADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccba3b;
/* rgb */ color: rgb(204, 186, 59);
/* oklch */ color: oklch(78.2% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfce79',
    500: '#ccba3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccba3b;
$custom-light: #dfce79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba3b",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 52.552,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78185,
    "c": 0.14306,
    "h": 101
  },
  "luminance": 0.48271
}

Semantic roles & 50–950 ramp

primary
#CCBA3B
secondary
#9299D1
accent
#59E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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