#CAC134#CAC134

#CAC134 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.153 H 105.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#CAC134
RGBrgb(202, 193, 52)
HSLhsl(56, 59%, 50%)
HSVhsv(56, 74%, 79%)
CMYKcmyk(0%, 4.5%, 74.3%, 20.8%)
CIE-LABlab(76.65, -12.41, 67.27)
CIE-LCHlch(76.65, 68.40, 100.45°)
OKLaboklab(79.44% -0.0414 0.1477)
OKLCHoklch(79.44% 0.153 105.7)
XYZxyz(44.0488, 50.9461, 10.7615)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC134 #343DCA
analogous
#CA7634 #CAC134 #88CA34
triadic
#CAC134 #34CAC1 #C134CA
tetradic
#CAC134 #34CA76 #343DCA #CA3488
square
#CAC134 #34CA76 #343DCA #CA3488
split-complementary
#CAC134 #3488CA #7634CA
monochromatic
#69641B #999227 #CAC134 #D7D064 #E4DF95

Accessibility & contrast

On white

1.88
#CAC134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#CAC134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC134
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC134#FFFFFF#000000##000000
##CAC1341.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA16
Deuteranopia (green-blind)
#D5C03F
Tritanopia (blue-blind)
#D9B4A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac134;
/* rgb */ color: rgb(202, 193, 52);
/* oklch */ color: oklch(79.4% 0.153 105.7);
Tailwind
colors: {
  custom: {
    50: '#ded376',
    500: '#cac134',
    950: '#000000',
  },
}
SCSS
$custom: #cac134;
$custom-light: #ded376;
$custom-dark: #000000;
JSON
{
  "hex": "#cac134",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 52
  },
  "hsl": {
    "h": 56.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79442,
    "c": 0.15342,
    "h": 105.7
  },
  "luminance": 0.50944
}

Semantic roles & 50–950 ramp

primary
#CAC134
secondary
#303473
accent
#4FE246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC134

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

Preview Lab → · Contrast checker → · Palette generator →

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