#CAC82B#CAC82B

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

Color values

HEX#CAC82B
RGBrgb(202, 200, 43)
HSLhsl(59, 65%, 48%)
HSVhsv(59, 79%, 79%)
CMYKcmyk(0%, 1%, 78.7%, 20.8%)
CIE-LABlab(78.49, -16.28, 71.71)
CIE-LCHlch(78.49, 73.54, 102.79°)
OKLaboklab(80.9% -0.053 0.1556)
OKLCHoklch(80.9% 0.164 108.8)
XYZxyz(45.4492, 54.0410, 10.3219)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC82B #2B2DCA
analogous
#CA782B #CAC82B #7DCA2B
triadic
#CAC82B #2BCAC8 #C82BCA
tetradic
#CAC82B #2BCA78 #2B2DCA #CA2B7D
square
#CAC82B #2BCA78 #2B2DCA #CA2B7D
split-complementary
#CAC82B #2B7DCA #782BCA
monochromatic
#656416 #989620 #CAC82B #DBDA57 #E6E589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC82B#FFFFFF#000000##000000
##CAC82B1.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)
#DBC439
Tritanopia (blue-blind)
#D9BBAB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac82b;
/* rgb */ color: rgb(202, 200, 43);
/* oklch */ color: oklch(80.9% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded873',
    500: '#cac82b',
    950: '#000000',
  },
}
SCSS
$custom: #cac82b;
$custom-light: #ded873;
$custom-dark: #000000;
JSON
{
  "hex": "#cac82b",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 43
  },
  "hsl": {
    "h": 59.245,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.80896,
    "c": 0.16435,
    "h": 108.8
  },
  "luminance": 0.5404
}

Semantic roles & 50–950 ramp

primary
#CAC82B
secondary
#2A2B6F
accent
#42E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC82B

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

Preview Lab → · Contrast checker → · Palette generator →

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