#CABA7D#CABA7D

#CABA7D is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.082 H 95.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CABA7D
RGBrgb(202, 186, 125)
HSLhsl(48, 42%, 64%)
HSVhsv(48, 38%, 79%)
CMYKcmyk(0%, 7.9%, 38.1%, 20.8%)
CIE-LABlab(75.55, -3.13, 33.00)
CIE-LCHlch(75.55, 33.15, 95.42°)
OKLaboklab(78.82% -0.0074 0.0814)
OKLCHoklch(78.82% 0.082 95.2)
XYZxyz(45.6186, 49.1565, 26.4832)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA7D #7D8DCA
analogous
#CA947D #CABA7D #B4CA7D
triadic
#CABA7D #7DCABA #BA7DCA
tetradic
#CABA7D #7DCA94 #7D8DCA #CA7DB4
square
#CABA7D #7DCA94 #7D8DCA #CA7DB4
split-complementary
#CABA7D #7DB4CA #947DCA
monochromatic
#917F3B #B8A352 #CABA7D #DCD1A8 #EDE8D4

Accessibility & contrast

On white

1.94
#CABA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CABA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA7D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA7D#FFFFFF#000000##000000
##CABA7D1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#CABC7F
Tritanopia (blue-blind)
#D5B1AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #caba7d;
/* rgb */ color: rgb(202, 186, 125);
/* oklch */ color: oklch(78.8% 0.082 95.2);
Tailwind
colors: {
  custom: {
    50: '#dbcea3',
    500: '#caba7d',
    950: '#000000',
  },
}
SCSS
$custom: #caba7d;
$custom-light: #dbcea3;
$custom-dark: #000000;
JSON
{
  "hex": "#caba7d",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 125
  },
  "hsl": {
    "h": 47.532,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.78816,
    "c": 0.08168,
    "h": 95.2
  },
  "luminance": 0.49155
}

Semantic roles & 50–950 ramp

primary
#CABA7D
secondary
#C4CADF
accent
#4CB530
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CABA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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