#CABA5A#CABA5A

#CABA5A is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.119 H 100.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CABA5A
RGBrgb(202, 186, 90)
HSLhsl(51, 51%, 57%)
HSVhsv(51, 55%, 79%)
CMYKcmyk(0%, 7.9%, 55.4%, 20.8%)
CIE-LABlab(75.09, -6.52, 49.96)
CIE-LCHlch(75.09, 50.39, 97.43°)
OKLaboklab(78.3% -0.0205 0.1168)
OKLCHoklch(78.3% 0.119 100)
XYZxyz(43.7630, 48.4143, 16.7105)
Luminance0.4841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA5A #5A6ACA
analogous
#CA825A #CABA5A #A2CA5A
triadic
#CABA5A #5ACABA #BA5ACA
tetradic
#CABA5A #5ACA82 #5A6ACA #CA5AA2
square
#CABA5A #5ACA82 #5A6ACA #CA5AA2
split-complementary
#CABA5A #5AA2CA #825ACA
monochromatic
#807429 #AF9E38 #CABA5A #D9CD88 #E8E1B7

Accessibility & contrast

On white

1.97
#CABA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CABA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA5A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA5A#FFFFFF#000000##000000
##CABA5A1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B551
Deuteranopia (green-blind)
#CEBC5E
Tritanopia (blue-blind)
#D8AEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba5a;
/* rgb */ color: rgb(202, 186, 90);
/* oklch */ color: oklch(78.3% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#dcce8b',
    500: '#caba5a',
    950: '#000000',
  },
}
SCSS
$custom: #caba5a;
$custom-light: #dcce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#caba5a",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 90
  },
  "hsl": {
    "h": 51.429,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78299,
    "c": 0.11854,
    "h": 100
  },
  "luminance": 0.48413
}

Semantic roles & 50–950 ramp

primary
#CABA5A
secondary
#A9B0D7
accent
#61DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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