#CAC23A#CAC23A

#CAC23A is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.151 H 106.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CAC23A
RGBrgb(202, 194, 58)
HSLhsl(57, 58%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 4%, 71.3%, 20.8%)
CIE-LABlab(76.95, -12.64, 65.46)
CIE-LCHlch(76.95, 66.67, 100.93°)
OKLaboklab(79.7% -0.0415 0.145)
OKLCHoklch(79.7% 0.151 106)
XYZxyz(44.4144, 51.4472, 11.5929)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC23A #3A42CA
analogous
#CA7A3A #CAC23A #8ACA3A
triadic
#CAC23A #3ACAC2 #C23ACA
tetradic
#CAC23A #3ACA7A #3A42CA #CA3A8A
square
#CAC23A #3ACA7A #3A42CA #CA3A8A
split-complementary
#CAC23A #3A8ACA #7A3ACA
monochromatic
#6C681D #9D962A #CAC23A #D7D16A #E4E09A

Accessibility & contrast

On white

1.86
#CAC23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CAC23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC23A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC23A#FFFFFF#000000##000000
##CAC23A1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB22
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#D9B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac23a;
/* rgb */ color: rgb(202, 194, 58);
/* oklch */ color: oklch(79.7% 0.151 106.0);
Tailwind
colors: {
  custom: {
    50: '#ded479',
    500: '#cac23a',
    950: '#000000',
  },
}
SCSS
$custom: #cac23a;
$custom-light: #ded479;
$custom-dark: #000000;
JSON
{
  "hex": "#cac23a",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 56.667,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79695,
    "c": 0.15082,
    "h": 106
  },
  "luminance": 0.51446
}

Semantic roles & 50–950 ramp

primary
#CAC23A
secondary
#323676
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC23A

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

Preview Lab → · Contrast checker → · Palette generator →

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