#CAC82F#CAC82F

#CAC82F is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.162 H 108.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CAC82F
RGBrgb(202, 200, 47)
HSLhsl(59, 62%, 49%)
HSVhsv(59, 77%, 79%)
CMYKcmyk(0%, 1%, 76.7%, 20.8%)
CIE-LABlab(78.50, -16.13, 70.56)
CIE-LCHlch(78.50, 72.39, 102.88°)
OKLaboklab(80.92% -0.0522 0.1538)
OKLCHoklch(80.92% 0.162 108.8)
XYZxyz(45.5263, 54.0718, 10.7275)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC82F #2F31CA
analogous
#CA7B2F #CAC82F #7FCA2F
triadic
#CAC82F #2FCAC8 #C82FCA
tetradic
#CAC82F #2FCA7B #2F31CA #CA2F7F
square
#CAC82F #2FCA7B #2F31CA #CA2F7F
split-complementary
#CAC82F #2F7FCA #7B2FCA
monochromatic
#676618 #989723 #CAC82F #D9D85D #E5E48F

Accessibility & contrast

On white

1.78
#CAC82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CAC82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC82F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC82F#FFFFFF#000000##000000
##CAC82F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DBC53C
Tritanopia (blue-blind)
#D9BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac82f;
/* rgb */ color: rgb(202, 200, 47);
/* oklch */ color: oklch(80.9% 0.162 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded875',
    500: '#cac82f',
    950: '#000000',
  },
}
SCSS
$custom: #cac82f;
$custom-light: #ded875;
$custom-dark: #000000;
JSON
{
  "hex": "#cac82f",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 59.226,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80916,
    "c": 0.16247,
    "h": 108.8
  },
  "luminance": 0.5407
}

Semantic roles & 50–950 ramp

primary
#CAC82F
secondary
#2C2D71
accent
#45E542
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC82F

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

Preview Lab → · Contrast checker → · Palette generator →

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