#CAB94A#CAB94A

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

Color values

HEX#CAB94A
RGBrgb(202, 185, 74)
HSLhsl(52, 55%, 54%)
HSVhsv(52, 63%, 79%)
CMYKcmyk(0%, 8.4%, 63.4%, 20.8%)
CIE-LABlab(74.67, -7.14, 56.76)
CIE-LCHlch(74.67, 57.21, 97.17°)
OKLaboklab(77.92% -0.0242 0.1292)
OKLCHoklch(77.92% 0.131 100.6)
XYZxyz(42.9439, 47.7507, 13.4320)
Luminance0.4775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB94A #4A5BCA
analogous
#CA794A #CAB94A #9BCA4A
triadic
#CAB94A #4ACAB9 #B94ACA
tetradic
#CAB94A #4ACA79 #4A5BCA #CA4A9B
square
#CAB94A #4ACA79 #4A5BCA #CA4A9B
split-complementary
#CAB94A #4A9BCA #794ACA
monochromatic
#776C23 #A69731 #CAB94A #D8CB79 #E6DEA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB94A#FFFFFF#000000##000000
##CAB94A1.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)
#C9B43D
Deuteranopia (green-blind)
#CEBB50
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab94a;
/* rgb */ color: rgb(202, 185, 74);
/* oklch */ color: oklch(77.9% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#ddcd81',
    500: '#cab94a',
    950: '#000000',
  },
}
SCSS
$custom: #cab94a;
$custom-light: #ddcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cab94a",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 74
  },
  "hsl": {
    "h": 52.031,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77918,
    "c": 0.13148,
    "h": 100.6
  },
  "luminance": 0.47749
}

Semantic roles & 50–950 ramp

primary
#CAB94A
secondary
#9DA4D3
accent
#5DDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB94A

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

Preview Lab → · Contrast checker → · Palette generator →

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