#CAC131#CAC131

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

Color values

HEX#CAC131
RGBrgb(202, 193, 49)
HSLhsl(56, 61%, 49%)
HSVhsv(56, 76%, 79%)
CMYKcmyk(0%, 4.5%, 75.7%, 20.8%)
CIE-LABlab(76.63, -12.53, 68.24)
CIE-LCHlch(76.63, 69.38, 100.40°)
OKLaboklab(79.43% -0.042 0.1492)
OKLCHoklch(79.43% 0.155 105.7)
XYZxyz(43.9833, 50.9199, 10.4168)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC131 #313ACA
analogous
#CA7531 #CAC131 #86CA31
triadic
#CAC131 #31CAC1 #C131CA
tetradic
#CAC131 #31CA75 #313ACA #CA3186
square
#CAC131 #31CA75 #313ACA #CA3186
split-complementary
#CAC131 #3186CA #7531CA
monochromatic
#676319 #999225 #CAC131 #D8D160 #E4DF91

Accessibility & contrast

On white

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

On black

11.18
#CAC131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC131
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC131#FFFFFF#000000##000000
##CAC1311.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac131;
/* rgb */ color: rgb(202, 193, 49);
/* oklch */ color: oklch(79.4% 0.155 105.7);
Tailwind
colors: {
  custom: {
    50: '#ded375',
    500: '#cac131',
    950: '#000000',
  },
}
SCSS
$custom: #cac131;
$custom-light: #ded375;
$custom-dark: #000000;
JSON
{
  "hex": "#cac131",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 56.471,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79425,
    "c": 0.15504,
    "h": 105.7
  },
  "luminance": 0.50918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC131

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

Preview Lab → · Contrast checker → · Palette generator →

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