#CAC934#CAC934

#CAC934 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.161 H 109.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CAC934
RGBrgb(202, 201, 52)
HSLhsl(60, 59%, 50%)
HSVhsv(60, 74%, 79%)
CMYKcmyk(0%, 0.5%, 74.3%, 20.8%)
CIE-LABlab(78.80, -16.43, 69.27)
CIE-LCHlch(78.80, 71.19, 103.35°)
OKLaboklab(81.16% -0.0527 0.152)
OKLCHoklch(81.16% 0.161 109.1)
XYZxyz(45.8653, 54.5792, 11.3670)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC934 #3435CA
analogous
#CA7E34 #CAC934 #80CA34
triadic
#CAC934 #34CAC9 #C934CA
tetradic
#CAC934 #34CA7E #3435CA #CA3480
square
#CAC934 #34CA7E #3435CA #CA3480
split-complementary
#CAC934 #3480CA #7E34CA
monochromatic
#69681B #999927 #CAC934 #D7D664 #E4E395

Accessibility & contrast

On white

1.76
#CAC934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CAC934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC934
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC934#FFFFFF#000000##000000
##CAC9341.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC111
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#D9BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac934;
/* rgb */ color: rgb(202, 201, 52);
/* oklch */ color: oklch(81.2% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#ded977',
    500: '#cac934',
    950: '#000000',
  },
}
SCSS
$custom: #cac934;
$custom-light: #ded977;
$custom-dark: #000000;
JSON
{
  "hex": "#cac934",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 59.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81159,
    "c": 0.16086,
    "h": 109.1
  },
  "luminance": 0.54578
}

Semantic roles & 50–950 ramp

primary
#CAC934
secondary
#303073
accent
#47E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC934

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

Preview Lab → · Contrast checker → · Palette generator →

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