#CAB877#CAB877

#CAB877 is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.087 H 94.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CAB877
RGBrgb(202, 184, 119)
HSLhsl(47, 44%, 63%)
HSVhsv(47, 41%, 79%)
CMYKcmyk(0%, 8.9%, 41.1%, 20.8%)
CIE-LABlab(74.93, -2.75, 35.32)
CIE-LCHlch(74.93, 35.43, 94.45°)
OKLaboklab(78.3% -0.0067 0.0864)
OKLCHoklch(78.3% 0.087 94.5)
XYZxyz(44.8284, 48.1710, 24.3857)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB877 #7789CA
analogous
#CA8E77 #CAB877 #B2CA77
triadic
#CAB877 #77CAB8 #B877CA
tetradic
#CAB877 #77CA8E #7789CA #CA77B2
square
#CAB877 #77CA8E #7789CA #CA77B2
split-complementary
#CAB877 #77B2CA #8E77CA
monochromatic
#8F7C38 #B9A14B #CAB877 #DBCFA3 #ECE6CF

Accessibility & contrast

On white

1.97
#CAB877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CAB877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB877
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB877#FFFFFF#000000##000000
##CAB8771.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B572
Deuteranopia (green-blind)
#CABB79
Tritanopia (blue-blind)
#D6AFA8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab877;
/* rgb */ color: rgb(202, 184, 119);
/* oklch */ color: oklch(78.3% 0.087 94.5);
Tailwind
colors: {
  custom: {
    50: '#dbcd9f',
    500: '#cab877',
    950: '#000000',
  },
}
SCSS
$custom: #cab877;
$custom-light: #dbcd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab877",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 119
  },
  "hsl": {
    "h": 46.988,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.0867,
    "h": 94.5
  },
  "luminance": 0.48169
}

Semantic roles & 50–950 ramp

primary
#CAB877
secondary
#BFC6DD
accent
#4CB72E
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CAB877

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

Preview Lab → · Contrast checker → · Palette generator →

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