#CABA87#CABA87

#CABA87 is a light, moderate yellow. Relative luminance 0.494; OKLCH L 79.0% C 0.070 H 92.7°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CABA87
RGBrgb(202, 186, 135)
HSLhsl(46, 39%, 66%)
HSVhsv(46, 33%, 79%)
CMYKcmyk(0%, 7.9%, 33.2%, 20.8%)
CIE-LABlab(75.72, -1.94, 27.96)
CIE-LCHlch(75.72, 28.03, 93.96°)
OKLaboklab(79% -0.0033 0.0699)
OKLCHoklch(79% 0.07 92.7)
XYZxyz(46.2898, 49.4250, 30.0185)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA87 #8797CA
analogous
#CA9887 #CABA87 #B8CA87
triadic
#CABA87 #87CABA #BA87CA
tetradic
#CABA87 #87CA98 #8797CA #CA87B8
square
#CABA87 #87CA98 #8797CA #CA87B8
split-complementary
#CABA87 #87B8CA #9887CA
monochromatic
#958142 #B7A25D #CABA87 #DDD2B1 #EFEBDC

Accessibility & contrast

On white

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

On black

10.88
#CABA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA87
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA87#FFFFFF#000000##000000
##CABA871.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B884
Deuteranopia (green-blind)
#C9BD89
Tritanopia (blue-blind)
#D4B2AD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #caba87;
/* rgb */ color: rgb(202, 186, 135);
/* oklch */ color: oklch(79.0% 0.070 92.7);
Tailwind
colors: {
  custom: {
    50: '#dbceaa',
    500: '#caba87',
    950: '#000000',
  },
}
SCSS
$custom: #caba87;
$custom-light: #dbceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#caba87",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 135
  },
  "hsl": {
    "h": 45.672,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.79002,
    "c": 0.06995,
    "h": 92.7
  },
  "luminance": 0.49424
}

Semantic roles & 50–950 ramp

primary
#CABA87
secondary
#CBD1E1
accent
#52B234
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#151310
muted
#83827F

Preview Lab

Preview with #CABA87

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

Preview Lab → · Contrast checker → · Palette generator →

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