#CAB94B#CAB94B

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

Color values

HEX#CAB94B
RGBrgb(202, 185, 75)
HSLhsl(52, 55%, 54%)
HSVhsv(52, 63%, 79%)
CMYKcmyk(0%, 8.4%, 62.9%, 20.8%)
CIE-LABlab(74.68, -7.07, 56.34)
CIE-LCHlch(74.68, 56.78, 97.16°)
OKLaboklab(77.93% -0.0239 0.1285)
OKLCHoklch(77.93% 0.131 100.5)
XYZxyz(42.9778, 47.7643, 13.6108)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB94B #4B5CCA
analogous
#CA7A4B #CAB94B #9BCA4B
triadic
#CAB94B #4BCAB9 #B94BCA
tetradic
#CAB94B #4BCA7A #4B5CCA #CA4B9B
square
#CAB94B #4BCA7A #4B5CCA #CA4B9B
split-complementary
#CAB94B #4B9BCA #7A4BCA
monochromatic
#776C23 #A79731 #CAB94B #D8CB7A #E6DEAA

Accessibility & contrast

On white

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

On black

10.55
#CAB94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB94B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB94B#FFFFFF#000000##000000
##CAB94B1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab94b;
/* rgb */ color: rgb(202, 185, 75);
/* oklch */ color: oklch(77.9% 0.131 100.5);
Tailwind
colors: {
  custom: {
    50: '#ddcd82',
    500: '#cab94b',
    950: '#000000',
  },
}
SCSS
$custom: #cab94b;
$custom-light: #ddcd82;
$custom-dark: #000000;
JSON
{
  "hex": "#cab94b",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 51.969,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77928,
    "c": 0.13068,
    "h": 100.5
  },
  "luminance": 0.47762
}

Semantic roles & 50–950 ramp

primary
#CAB94B
secondary
#9DA5D3
accent
#5EDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB94B

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

Preview Lab → · Contrast checker → · Palette generator →

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