#CAC83A#CAC83A

#CAC83A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.157 H 108.6°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#CAC83A
RGBrgb(202, 200, 58)
HSLhsl(59, 58%, 51%)
HSVhsv(59, 71%, 79%)
CMYKcmyk(0%, 1%, 71.3%, 20.8%)
CIE-LABlab(78.56, -15.67, 67.02)
CIE-LCHlch(78.56, 68.83, 103.16°)
OKLaboklab(80.98% -0.05 0.1483)
OKLCHoklch(80.98% 0.157 108.6)
XYZxyz(45.7768, 54.1720, 12.0471)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC83A #3A3CCA
analogous
#CA803A #CAC83A #84CA3A
triadic
#CAC83A #3ACAC8 #C83ACA
tetradic
#CAC83A #3ACA80 #3A3CCA #CA3A84
square
#CAC83A #3ACA80 #3A3CCA #CA3A84
split-complementary
#CAC83A #3A84CA #803ACA
monochromatic
#6C6B1D #9D9B2A #CAC83A #D7D56A #E4E39A

Accessibility & contrast

On white

1.77
#CAC83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#CAC83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC83A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC83A#FFFFFF#000000##000000
##CAC83A1.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C020
Deuteranopia (green-blind)
#DAC545
Tritanopia (blue-blind)
#D8BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac83a;
/* rgb */ color: rgb(202, 200, 58);
/* oklch */ color: oklch(81.0% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded87a',
    500: '#cac83a',
    950: '#000000',
  },
}
SCSS
$custom: #cac83a;
$custom-light: #ded87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac83a",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 59.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80981,
    "c": 0.1565,
    "h": 108.6
  },
  "luminance": 0.54171
}

Semantic roles & 50–950 ramp

primary
#CAC83A
secondary
#323376
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC83A

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

Preview Lab → · Contrast checker → · Palette generator →

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