#CAC834#CAC834

#CAC834 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.9% C 0.160 H 108.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CAC834
RGBrgb(202, 200, 52)
HSLhsl(59, 59%, 50%)
HSVhsv(59, 74%, 79%)
CMYKcmyk(0%, 1%, 74.3%, 20.8%)
CIE-LABlab(78.53, -15.93, 69.02)
CIE-LCHlch(78.53, 70.84, 103.00°)
OKLaboklab(80.94% -0.0513 0.1515)
OKLCHoklch(80.94% 0.16 108.7)
XYZxyz(45.6330, 54.1145, 11.2895)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC834 #3436CA
analogous
#CA7D34 #CAC834 #81CA34
triadic
#CAC834 #34CAC8 #C834CA
tetradic
#CAC834 #34CA7D #3436CA #CA3481
square
#CAC834 #34CA7D #3436CA #CA3481
split-complementary
#CAC834 #3481CA #7D34CA
monochromatic
#69681B #999827 #CAC834 #D7D664 #E4E395

Accessibility & contrast

On white

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

On black

11.82
#CAC834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC834
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC834#FFFFFF#000000##000000
##CAC8341.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C012
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#D9BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac834;
/* rgb */ color: rgb(202, 200, 52);
/* oklch */ color: oklch(80.9% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#ded877',
    500: '#cac834',
    950: '#000000',
  },
}
SCSS
$custom: #cac834;
$custom-light: #ded877;
$custom-dark: #000000;
JSON
{
  "hex": "#cac834",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 59.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80943,
    "c": 0.1599,
    "h": 108.7
  },
  "luminance": 0.54113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC834

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

Preview Lab → · Contrast checker → · Palette generator →

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