#CAB679#CAB679

#CAB679 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.083 H 92.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CAB679
RGBrgb(202, 182, 121)
HSLhsl(45, 43%, 63%)
HSVhsv(45, 40%, 79%)
CMYKcmyk(0%, 9.9%, 40.1%, 20.8%)
CIE-LABlab(74.44, -1.48, 33.65)
CIE-LCHlch(74.44, 33.68, 92.51°)
OKLaboklab(77.92% -0.0029 0.0827)
OKLCHoklch(77.92% 0.083 92)
XYZxyz(44.5373, 47.3945, 24.8875)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB679 #798DCA
analogous
#CA8D79 #CAB679 #B5CA79
triadic
#CAB679 #79CAB6 #B679CA
tetradic
#CAB679 #79CA8D #798DCA #CA79B5
square
#CAB679 #79CA8D #798DCA #CA79B5
split-complementary
#CAB679 #79B5CA #8D79CA
monochromatic
#907A39 #B99E4D #CAB679 #DBCEA5 #EDE6D1

Accessibility & contrast

On white

2.00
#CAB679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#CAB679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB679
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB679#FFFFFF#000000##000000
##CAB6791.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B475
Deuteranopia (green-blind)
#C8BA7B
Tritanopia (blue-blind)
#D6ADA7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab679;
/* rgb */ color: rgb(202, 182, 121);
/* oklch */ color: oklch(77.9% 0.083 92.0);
Tailwind
colors: {
  custom: {
    50: '#dbcba0',
    500: '#cab679',
    950: '#000000',
  },
}
SCSS
$custom: #cab679;
$custom-light: #dbcba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab679",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 121
  },
  "hsl": {
    "h": 45.185,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.77921,
    "c": 0.08274,
    "h": 92
  },
  "luminance": 0.47393
}

Semantic roles & 50–950 ramp

primary
#CAB679
secondary
#C1C8DE
accent
#50B62F
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CAB679

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

Preview Lab → · Contrast checker → · Palette generator →

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