#CAB35D#CAB35D

#CAB35D is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.110 H 94.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CAB35D
RGBrgb(202, 179, 93)
HSLhsl(47, 51%, 58%)
HSVhsv(47, 54%, 79%)
CMYKcmyk(0%, 11.4%, 54%, 20.8%)
CIE-LABlab(73.28, -2.61, 46.41)
CIE-LCHlch(73.28, 46.48, 93.22°)
OKLaboklab(76.88% -0.0089 0.1094)
OKLCHoklch(76.88% 0.11 94.7)
XYZxyz(42.4546, 45.5889, 16.9171)
Luminance0.4559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB35D #5D74CA
analogous
#CA7C5D #CAB35D #ABCA5D
triadic
#CAB35D #5DCAB3 #B35DCA
tetradic
#CAB35D #5DCA7C #5D74CA #CA5DAB
square
#CAB35D #5DCA7C #5D74CA #CA5DAB
split-complementary
#CAB35D #5DABCA #7C5DCA
monochromatic
#82702B #B0973A #CAB35D #D9C98B #E8DEB9

Accessibility & contrast

On white

2.08
#CAB35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CAB35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB35D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB35D#FFFFFF#000000##000000
##CAB35D1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B055
Deuteranopia (green-blind)
#C8B761
Tritanopia (blue-blind)
#D8A89F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab35d;
/* rgb */ color: rgb(202, 179, 93);
/* oklch */ color: oklch(76.9% 0.110 94.7);
Tailwind
colors: {
  custom: {
    50: '#dcc98d',
    500: '#cab35d',
    950: '#000000',
  },
}
SCSS
$custom: #cab35d;
$custom-light: #dcc98d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab35d",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 93
  },
  "hsl": {
    "h": 47.339,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76879,
    "c": 0.10972,
    "h": 94.7
  },
  "luminance": 0.45587
}

Semantic roles & 50–950 ramp

primary
#CAB35D
secondary
#ACB5D7
accent
#6BDA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB35D

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

Preview Lab → · Contrast checker → · Palette generator →

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