#CAB55D#CAB55D

#CAB55D is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.111 H 96.2°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CAB55D
RGBrgb(202, 181, 93)
HSLhsl(48, 51%, 58%)
HSVhsv(48, 54%, 79%)
CMYKcmyk(0%, 10.4%, 54%, 20.8%)
CIE-LABlab(73.80, -3.66, 47.03)
CIE-LCHlch(73.80, 47.17, 94.45°)
OKLaboklab(77.29% -0.012 0.1107)
OKLCHoklch(77.29% 0.111 96.2)
XYZxyz(42.8583, 46.3964, 17.0517)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB55D #5D72CA
analogous
#CA7E5D #CAB55D #A9CA5D
triadic
#CAB55D #5DCAB5 #B55DCA
tetradic
#CAB55D #5DCA7E #5D72CA #CA5DA9
square
#CAB55D #5DCA7E #5D72CA #CA5DA9
split-complementary
#CAB55D #5DA9CA #7E5DCA
monochromatic
#82712B #B0993A #CAB55D #D9CA8B #E8DFB9

Accessibility & contrast

On white

2.04
#CAB55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CAB55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB55D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB55D#FFFFFF#000000##000000
##CAB55D1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B155
Deuteranopia (green-blind)
#CAB861
Tritanopia (blue-blind)
#D8AAA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab55d;
/* rgb */ color: rgb(202, 181, 93);
/* oklch */ color: oklch(77.3% 0.111 96.2);
Tailwind
colors: {
  custom: {
    50: '#dcca8d',
    500: '#cab55d',
    950: '#000000',
  },
}
SCSS
$custom: #cab55d;
$custom-light: #dcca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab55d",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 93
  },
  "hsl": {
    "h": 48.44,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77293,
    "c": 0.11135,
    "h": 96.2
  },
  "luminance": 0.46395
}

Semantic roles & 50–950 ramp

primary
#CAB55D
secondary
#ACB4D7
accent
#69DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB55D

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

Preview Lab → · Contrast checker → · Palette generator →

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