#CAB975#CAB975

#CAB975 is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.090 H 95.8°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CAB975
RGBrgb(202, 185, 117)
HSLhsl(48, 45%, 63%)
HSVhsv(48, 42%, 79%)
CMYKcmyk(0%, 8.4%, 42.1%, 20.8%)
CIE-LABlab(75.16, -3.49, 36.65)
CIE-LCHlch(75.16, 36.82, 95.44°)
OKLaboklab(78.47% -0.0091 0.0894)
OKLCHoklch(78.47% 0.09 95.8)
XYZxyz(44.9180, 48.5404, 23.8293)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB975 #7586CA
analogous
#CA8E75 #CAB975 #B1CA75
triadic
#CAB975 #75CAB9 #B975CA
tetradic
#CAB975 #75CA8E #7586CA #CA75B1
square
#CAB975 #75CA8E #7586CA #CA75B1
split-complementary
#CAB975 #75B1CA #8E75CA
monochromatic
#8E7D37 #B9A349 #CAB975 #DBCFA1 #ECE6CD

Accessibility & contrast

On white

1.96
#CAB975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CAB975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB975
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB975#FFFFFF#000000##000000
##CAB9751.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B670
Deuteranopia (green-blind)
#CBBC78
Tritanopia (blue-blind)
#D6B0A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cab975;
/* rgb */ color: rgb(202, 185, 117);
/* oklch */ color: oklch(78.5% 0.090 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbcd9e',
    500: '#cab975',
    950: '#000000',
  },
}
SCSS
$custom: #cab975;
$custom-light: #dbcd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab975",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 117
  },
  "hsl": {
    "h": 48,
    "s": 44.503,
    "l": 62.549
  },
  "oklch": {
    "l": 0.78472,
    "c": 0.08984,
    "h": 95.8
  },
  "luminance": 0.48539
}

Semantic roles & 50–950 ramp

primary
#CAB975
secondary
#BEC4DD
accent
#49B82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CAB975

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

Preview Lab → · Contrast checker → · Palette generator →

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