#CAC436#CAC436

#CAC436 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.1% C 0.155 H 107.0°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CAC436
RGBrgb(202, 196, 54)
HSLhsl(58, 58%, 50%)
HSVhsv(58, 73%, 79%)
CMYKcmyk(0%, 3%, 73.3%, 20.8%)
CIE-LABlab(77.46, -13.84, 67.36)
CIE-LCHlch(77.46, 68.76, 101.61°)
OKLaboklab(80.1% -0.0452 0.1483)
OKLCHoklch(80.1% 0.155 107)
XYZxyz(44.7647, 52.3043, 11.2271)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC436 #363CCA
analogous
#CA7A36 #CAC436 #86CA36
triadic
#CAC436 #36CAC4 #C436CA
tetradic
#CAC436 #36CA7A #363CCA #CA3686
square
#CAC436 #36CA7A #363CCA #CA3686
split-complementary
#CAC436 #3686CA #7A36CA
monochromatic
#6A671C #9A9629 #CAC436 #D7D266 #E4E097

Accessibility & contrast

On white

1.83
#CAC436 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CAC436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC436
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC436#FFFFFF#000000##000000
##CAC4361.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC19
Deuteranopia (green-blind)
#D8C241
Tritanopia (blue-blind)
#D9B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac436;
/* rgb */ color: rgb(202, 196, 54);
/* oklch */ color: oklch(80.1% 0.155 107.0);
Tailwind
colors: {
  custom: {
    50: '#ded577',
    500: '#cac436',
    950: '#000000',
  },
}
SCSS
$custom: #cac436;
$custom-light: #ded577;
$custom-dark: #000000;
JSON
{
  "hex": "#cac436",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 54
  },
  "hsl": {
    "h": 57.568,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80096,
    "c": 0.15503,
    "h": 107
  },
  "luminance": 0.52303
}

Semantic roles & 50–950 ramp

primary
#CAC436
secondary
#313374
accent
#4DE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC436

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

Preview Lab → · Contrast checker → · Palette generator →

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