#CAC23C#CAC23C

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

Color values

HEX#CAC23C
RGBrgb(202, 194, 60)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 70%, 79%)
CMYKcmyk(0%, 4%, 70.3%, 20.8%)
CIE-LABlab(76.96, -12.55, 64.75)
CIE-LCHlch(76.96, 65.95, 100.97°)
OKLaboklab(79.71% -0.041 0.1438)
OKLCHoklch(79.71% 0.15 105.9)
XYZxyz(44.4663, 51.4680, 11.8661)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC23C #3C44CA
analogous
#CA7B3C #CAC23C #8BCA3C
triadic
#CAC23C #3CCAC2 #C23CCA
tetradic
#CAC23C #3CCA7B #3C44CA #CA3C8B
square
#CAC23C #3CCA7B #3C44CA #CA3C8B
split-complementary
#CAC23C #3C8BCA #7B3CCA
monochromatic
#6E691E #9E972B #CAC23C #D7D16C #E4E09C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC23C#FFFFFF#000000##000000
##CAC23C1.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)
#D3BB26
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#D9B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac23c;
/* rgb */ color: rgb(202, 194, 60);
/* oklch */ color: oklch(79.7% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cac23c',
    950: '#000000',
  },
}
SCSS
$custom: #cac23c;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac23c",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 56.62,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79709,
    "c": 0.14957,
    "h": 105.9
  },
  "luminance": 0.51466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC23C

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

Preview Lab → · Contrast checker → · Palette generator →

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