#CAC577#CAC577

#CAC577 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.100 H 105.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CAC577
RGBrgb(202, 197, 119)
HSLhsl(56, 44%, 63%)
HSVhsv(56, 41%, 79%)
CMYKcmyk(0%, 2.5%, 41.1%, 20.8%)
CIE-LABlab(78.36, -9.50, 39.69)
CIE-LCHlch(78.36, 40.81, 103.46°)
OKLaboklab(81.01% -0.0262 0.0964)
OKLCHoklch(81.01% 0.1 105.2)
XYZxyz(47.6540, 53.8221, 25.3276)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC577 #777CCA
analogous
#CA9C77 #CAC577 #A5CA77
triadic
#CAC577 #77CAC5 #C577CA
tetradic
#CAC577 #77CA9C #777CCA #CA77A5
square
#CAC577 #77CA9C #777CCA #CA77A5
split-complementary
#CAC577 #77A5CA #9C77CA
monochromatic
#8F8A38 #B9B24B #CAC577 #DBD8A3 #ECEBCF

Accessibility & contrast

On white

1.79
#CAC577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CAC577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC577
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC577#FFFFFF#000000##000000
##CAC5771.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C071
Deuteranopia (green-blind)
#D4C47A
Tritanopia (blue-blind)
#D5BCB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac577;
/* rgb */ color: rgb(202, 197, 119);
/* oklch */ color: oklch(81.0% 0.100 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd69f',
    500: '#cac577',
    950: '#000000',
  },
}
SCSS
$custom: #cac577;
$custom-light: #dbd69f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac577",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 56.386,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81011,
    "c": 0.09987,
    "h": 105.2
  },
  "luminance": 0.53821
}

Semantic roles & 50–950 ramp

primary
#CAC577
secondary
#4F5496
accent
#37B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CAC577

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

Preview Lab → · Contrast checker → · Palette generator →

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