#CAC44F#CAC44F

#CAC44F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.138 H 106.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CAC44F
RGBrgb(202, 196, 79)
HSLhsl(57, 54%, 55%)
HSVhsv(57, 61%, 79%)
CMYKcmyk(0%, 3%, 60.9%, 20.8%)
CIE-LABlab(77.64, -12.46, 57.81)
CIE-LCHlch(77.64, 59.13, 102.16°)
OKLaboklab(80.29% -0.0387 0.1322)
OKLCHoklch(80.29% 0.138 106.3)
XYZxyz(45.5099, 52.6024, 15.1516)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC44F #4F55CA
analogous
#CA864F #CAC44F #93CA4F
triadic
#CAC44F #4FCAC4 #C44FCA
tetradic
#CAC44F #4FCA86 #4F55CA #CA4F93
square
#CAC44F #4FCA86 #4F55CA #CA4F93
split-complementary
#CAC44F #4F93CA #864FCA
monochromatic
#7A7625 #A9A333 #CAC44F #D8D47E #E6E4AD

Accessibility & contrast

On white

1.82
#CAC44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CAC44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC44F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC44F#FFFFFF#000000##000000
##CAC44F1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD41
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#D8B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac44f;
/* rgb */ color: rgb(202, 196, 79);
/* oklch */ color: oklch(80.3% 0.138 106.3);
Tailwind
colors: {
  custom: {
    50: '#ddd585',
    500: '#cac44f',
    950: '#000000',
  },
}
SCSS
$custom: #cac44f;
$custom-light: #ddd585;
$custom-dark: #000000;
JSON
{
  "hex": "#cac44f",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 57.073,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80294,
    "c": 0.13772,
    "h": 106.3
  },
  "luminance": 0.52601
}

Semantic roles & 50–950 ramp

primary
#CAC44F
secondary
#3B3F82
accent
#52DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC44F

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

Preview Lab → · Contrast checker → · Palette generator →

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