#CABC5B#CABC5B

#CABC5B is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.119 H 101.2°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CABC5B
RGBrgb(202, 188, 91)
HSLhsl(52, 51%, 57%)
HSVhsv(52, 55%, 79%)
CMYKcmyk(0%, 6.9%, 55%, 20.8%)
CIE-LABlab(75.63, -7.47, 50.12)
CIE-LCHlch(75.63, 50.67, 98.48°)
OKLaboklab(78.73% -0.0232 0.1172)
OKLCHoklch(78.73% 0.119 101.2)
XYZxyz(44.2301, 49.2800, 17.0776)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC5B #5B69CA
analogous
#CA845B #CABC5B #A1CA5B
triadic
#CABC5B #5BCABC #BC5BCA
tetradic
#CABC5B #5BCA84 #5B69CA #CA5BA1
square
#CABC5B #5BCA84 #5B69CA #CA5BA1
split-complementary
#CABC5B #5BA1CA #845BCA
monochromatic
#81762A #AFA039 #CABC5B #D9CF89 #E8E2B8

Accessibility & contrast

On white

1.93
#CABC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CABC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC5B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC5B#FFFFFF#000000##000000
##CABC5B1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB752
Deuteranopia (green-blind)
#CFBD60
Tritanopia (blue-blind)
#D8B1A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc5b;
/* rgb */ color: rgb(202, 188, 91);
/* oklch */ color: oklch(78.7% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#dccf8c',
    500: '#cabc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cabc5b;
$custom-light: #dccf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc5b",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 91
  },
  "hsl": {
    "h": 52.432,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.7873,
    "c": 0.11946,
    "h": 101.2
  },
  "luminance": 0.49278
}

Semantic roles & 50–950 ramp

primary
#CABC5B
secondary
#AAB0D7
accent
#5FDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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