#CAC034#CAC034

#CAC034 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.2% C 0.153 H 105.2°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#CAC034
RGBrgb(202, 192, 52)
HSLhsl(56, 59%, 50%)
HSVhsv(56, 74%, 79%)
CMYKcmyk(0%, 5%, 74.3%, 20.8%)
CIE-LABlab(76.38, -11.90, 67.01)
CIE-LCHlch(76.38, 68.06, 100.07°)
OKLaboklab(79.23% -0.04 0.1472)
OKLCHoklch(79.23% 0.153 105.2)
XYZxyz(43.8284, 50.5055, 10.6880)
Luminance0.5050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC034 #343ECA
analogous
#CA7534 #CAC034 #89CA34
triadic
#CAC034 #34CAC0 #C034CA
tetradic
#CAC034 #34CA75 #343ECA #CA3489
square
#CAC034 #34CA75 #343ECA #CA3489
split-complementary
#CAC034 #3489CA #7534CA
monochromatic
#69631B #999227 #CAC034 #D7CF64 #E4DE95

Accessibility & contrast

On white

1.89
#CAC034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#CAC034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC034
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC034#FFFFFF#000000##000000
##CAC0341.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B917
Deuteranopia (green-blind)
#D5BF3E
Tritanopia (blue-blind)
#D9B3A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cac034;
/* rgb */ color: rgb(202, 192, 52);
/* oklch */ color: oklch(79.2% 0.153 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded276',
    500: '#cac034',
    950: '#000000',
  },
}
SCSS
$custom: #cac034;
$custom-light: #ded276;
$custom-dark: #000000;
JSON
{
  "hex": "#cac034",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 52
  },
  "hsl": {
    "h": 56,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79229,
    "c": 0.15253,
    "h": 105.2
  },
  "luminance": 0.50504
}

Semantic roles & 50–950 ramp

primary
#CAC034
secondary
#303473
accent
#50E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC034

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

Preview Lab → · Contrast checker → · Palette generator →

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