#CAC232#CAC232

#CAC232 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.6% C 0.155 H 106.2°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CAC232
RGBrgb(202, 194, 50)
HSLhsl(57, 60%, 49%)
HSVhsv(57, 75%, 79%)
CMYKcmyk(0%, 4%, 75.2%, 20.8%)
CIE-LABlab(76.90, -13.00, 68.16)
CIE-LCHlch(76.90, 69.39, 100.79°)
OKLaboklab(79.64% -0.0432 0.1493)
OKLCHoklch(79.64% 0.155 106.2)
XYZxyz(44.2265, 51.3721, 10.6032)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC232 #323ACA
analogous
#CA7632 #CAC232 #86CA32
triadic
#CAC232 #32CAC2 #C232CA
tetradic
#CAC232 #32CA76 #323ACA #CA3286
square
#CAC232 #32CA76 #323ACA #CA3286
split-complementary
#CAC232 #3286CA #7632CA
monochromatic
#68641A #999326 #CAC232 #D8D261 #E4E092

Accessibility & contrast

On white

1.86
#CAC232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CAC232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC232
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC232#FFFFFF#000000##000000
##CAC2321.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB10
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#D9B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac232;
/* rgb */ color: rgb(202, 194, 50);
/* oklch */ color: oklch(79.6% 0.155 106.2);
Tailwind
colors: {
  custom: {
    50: '#ded475',
    500: '#cac232',
    950: '#000000',
  },
}
SCSS
$custom: #cac232;
$custom-light: #ded475;
$custom-dark: #000000;
JSON
{
  "hex": "#cac232",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 56.842,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79644,
    "c": 0.1554,
    "h": 106.2
  },
  "luminance": 0.5137
}

Semantic roles & 50–950 ramp

primary
#CAC232
secondary
#2E3272
accent
#4DE344
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC232

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

Preview Lab → · Contrast checker → · Palette generator →

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