#CAB94C#CAB94C

#CAB94C is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.130 H 100.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CAB94C
RGBrgb(202, 185, 76)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 62%, 79%)
CMYKcmyk(0%, 8.4%, 62.4%, 20.8%)
CIE-LABlab(74.68, -7.01, 55.91)
CIE-LCHlch(74.68, 56.35, 97.15°)
OKLaboklab(77.94% -0.0236 0.1277)
OKLCHoklch(77.94% 0.13 100.5)
XYZxyz(43.0123, 47.7781, 13.7925)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB94C #4C5DCA
analogous
#CA7A4C #CAB94C #9CCA4C
triadic
#CAB94C #4CCAB9 #B94CCA
tetradic
#CAB94C #4CCA7A #4C5DCA #CA4C9C
square
#CAB94C #4CCA7A #4C5DCA #CA4C9C
split-complementary
#CAB94C #4C9CCA #7A4CCA
monochromatic
#786D24 #A79732 #CAB94C #D8CB7B #E6DEAA

Accessibility & contrast

On white

1.99
#CAB94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CAB94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB94C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB94C#FFFFFF#000000##000000
##CAB94C1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43F
Deuteranopia (green-blind)
#CEBB52
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab94c;
/* rgb */ color: rgb(202, 185, 76);
/* oklch */ color: oklch(77.9% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#ddcd83',
    500: '#cab94c',
    950: '#000000',
  },
}
SCSS
$custom: #cab94c;
$custom-light: #ddcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#cab94c",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 76
  },
  "hsl": {
    "h": 51.905,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77937,
    "c": 0.12988,
    "h": 100.5
  },
  "luminance": 0.47776
}

Semantic roles & 50–950 ramp

primary
#CAB94C
secondary
#9EA5D4
accent
#5EDE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB94C

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

Preview Lab → · Contrast checker → · Palette generator →

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