#CABC7B#CABC7B

#CABC7B is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.086 H 97.5°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#CABC7B
RGBrgb(202, 188, 123)
HSLhsl(49, 43%, 64%)
HSVhsv(49, 39%, 79%)
CMYKcmyk(0%, 6.9%, 39.1%, 20.8%)
CIE-LABlab(76.04, -4.40, 34.68)
CIE-LCHlch(76.04, 34.96, 97.24°)
OKLaboklab(79.2% -0.0112 0.0851)
OKLCHoklch(79.2% 0.086 97.5)
XYZxyz(45.9164, 49.9545, 25.9585)
Luminance0.4995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC7B #7B89CA
analogous
#CA947B #CABC7B #B0CA7B
triadic
#CABC7B #7BCABC #BC7BCA
tetradic
#CABC7B #7BCA94 #7B89CA #CA7BB0
square
#CABC7B #7BCA94 #7B89CA #CA7BB0
split-complementary
#CABC7B #7BB0CA #947BCA
monochromatic
#91813A #B8A64F #CABC7B #DCD2A7 #EDE8D2

Accessibility & contrast

On white

1.91
#CABC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#CABC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC7B
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC7B#FFFFFF#000000##000000
##CABC7B1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B976
Deuteranopia (green-blind)
#CCBE7D
Tritanopia (blue-blind)
#D5B3AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabc7b;
/* rgb */ color: rgb(202, 188, 123);
/* oklch */ color: oklch(79.2% 0.086 97.5);
Tailwind
colors: {
  custom: {
    50: '#dbd0a2',
    500: '#cabc7b',
    950: '#000000',
  },
}
SCSS
$custom: #cabc7b;
$custom-light: #dbd0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc7b",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 123
  },
  "hsl": {
    "h": 49.367,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.79195,
    "c": 0.08588,
    "h": 97.5
  },
  "luminance": 0.49953
}

Semantic roles & 50–950 ramp

primary
#CABC7B
secondary
#C2C7DE
accent
#47B630
background
#FDFCFA
surface
#FBF9F3
border
#D4D2CD
text
#15130F
muted
#83827F

Preview Lab

Preview with #CABC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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