#CCAB41#CCAB41

#CCAB41 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.128 H 91.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CCAB41
RGBrgb(204, 171, 65)
HSLhsl(46, 58%, 53%)
HSVhsv(46, 68%, 80%)
CMYKcmyk(0%, 16.2%, 68.1%, 20%)
CIE-LABlab(71.11, 0.53, 56.91)
CIE-LCHlch(71.11, 56.92, 89.46°)
OKLaboklab(75.12% -0.0034 0.1281)
OKLCHoklch(75.12% 0.128 91.5)
XYZxyz(40.4210, 42.3472, 11.0448)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAB41 #4162CC
analogous
#CC6541 #CCAB41 #A8CC41
triadic
#CCAB41 #41CCAB #AB41CC
tetradic
#CCAB41 #41CC65 #4162CC #CC41A8
square
#CCAB41 #41CC65 #4162CC #CC41A8
split-complementary
#CCAB41 #41A8CC #6541CC
monochromatic
#74601F #A4872C #CCAB41 #D9C071 #E6D6A1

Accessibility & contrast

On white

2.22
#CCAB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CCAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAB41
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAB41#FFFFFF#000000##000000
##CCAB411.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA933
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#DC9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ccab41;
/* rgb */ color: rgb(204, 171, 65);
/* oklch */ color: oklch(75.1% 0.128 91.5);
Tailwind
colors: {
  custom: {
    50: '#dfc37b',
    500: '#ccab41',
    950: '#000000',
  },
}
SCSS
$custom: #ccab41;
$custom-light: #dfc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccab41",
  "rgb": {
    "r": 204,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 45.755,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.12812,
    "h": 91.5
  },
  "luminance": 0.42345
}

Semantic roles & 50–950 ramp

primary
#CCAB41
secondary
#96A5D3
accent
#6BE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CCAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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