#CAB94E#CAB94E

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

Color values

HEX#CAB94E
RGBrgb(202, 185, 78)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 61%, 79%)
CMYKcmyk(0%, 8.4%, 61.4%, 20.8%)
CIE-LABlab(74.70, -6.88, 55.04)
CIE-LCHlch(74.70, 55.47, 97.12°)
OKLaboklab(77.96% -0.023 0.1262)
OKLCHoklch(77.96% 0.128 100.3)
XYZxyz(43.0829, 47.8063, 14.1644)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB94E #4E5FCA
analogous
#CA7B4E #CAB94E #9DCA4E
triadic
#CAB94E #4ECAB9 #B94ECA
tetradic
#CAB94E #4ECA7B #4E5FCA #CA4E9D
square
#CAB94E #4ECA7B #4E5FCA #CA4E9D
split-complementary
#CAB94E #4E9DCA #7B4ECA
monochromatic
#796E24 #A89832 #CAB94E #D8CC7D #E6DEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB94E#FFFFFF#000000##000000
##CAB94E1.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)
#C9B442
Deuteranopia (green-blind)
#CEBB54
Tritanopia (blue-blind)
#D9ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab94e;
/* rgb */ color: rgb(202, 185, 78);
/* oklch */ color: oklch(78.0% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#ddcd84',
    500: '#cab94e',
    950: '#000000',
  },
}
SCSS
$custom: #cab94e;
$custom-light: #ddcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#cab94e",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 51.774,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.12823,
    "h": 100.3
  },
  "luminance": 0.47805
}

Semantic roles & 50–950 ramp

primary
#CAB94E
secondary
#A0A7D4
accent
#5FDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB94E

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

Preview Lab → · Contrast checker → · Palette generator →

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