#CABA5D#CABA5D

#CABA5D is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.116 H 99.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CABA5D
RGBrgb(202, 186, 93)
HSLhsl(51, 51%, 58%)
HSVhsv(51, 54%, 79%)
CMYKcmyk(0%, 7.9%, 54%, 20.8%)
CIE-LABlab(75.12, -6.27, 48.57)
CIE-LCHlch(75.12, 48.98, 97.36°)
OKLaboklab(78.33% -0.0195 0.1141)
OKLCHoklch(78.33% 0.116 99.7)
XYZxyz(43.8933, 48.4664, 17.3967)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA5D #5D6DCA
analogous
#CA845D #CABA5D #A3CA5D
triadic
#CABA5D #5DCABA #BA5DCA
tetradic
#CABA5D #5DCA84 #5D6DCA #CA5DA3
square
#CABA5D #5DCA84 #5D6DCA #CA5DA3
split-complementary
#CABA5D #5DA3CA #845DCA
monochromatic
#82752B #B09F3A #CABA5D #D9CE8B #E8E1B9

Accessibility & contrast

On white

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

On black

10.69
#CABA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA5D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA5D#FFFFFF#000000##000000
##CABA5D1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B554
Deuteranopia (green-blind)
#CEBC61
Tritanopia (blue-blind)
#D8AFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba5d;
/* rgb */ color: rgb(202, 186, 93);
/* oklch */ color: oklch(78.3% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#dcce8d',
    500: '#caba5d',
    950: '#000000',
  },
}
SCSS
$custom: #caba5d;
$custom-light: #dcce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#caba5d",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 51.193,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78335,
    "c": 0.11572,
    "h": 99.7
  },
  "luminance": 0.48465
}

Semantic roles & 50–950 ramp

primary
#CABA5D
secondary
#ACB2D7
accent
#62DA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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