#CABA59#CABA59

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

Color values

HEX#CABA59
RGBrgb(202, 186, 89)
HSLhsl(52, 52%, 57%)
HSVhsv(52, 56%, 79%)
CMYKcmyk(0%, 7.9%, 55.9%, 20.8%)
CIE-LABlab(75.07, -6.59, 50.42)
CIE-LCHlch(75.07, 50.85, 97.45°)
OKLaboklab(78.29% -0.0209 0.1176)
OKLCHoklch(78.29% 0.119 100.1)
XYZxyz(43.7207, 48.3973, 16.4879)
Luminance0.4840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA59 #5969CA
analogous
#CA8159 #CABA59 #A2CA59
triadic
#CABA59 #59CABA #BA59CA
tetradic
#CABA59 #59CA81 #5969CA #CA59A2
square
#CABA59 #59CA81 #5969CA #CA59A2
split-complementary
#CABA59 #59A2CA #8159CA
monochromatic
#807329 #AE9D38 #CABA59 #D9CD87 #E8E1B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA59#FFFFFF#000000##000000
##CABA591.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)
#C9B54F
Deuteranopia (green-blind)
#CEBC5E
Tritanopia (blue-blind)
#D8AEA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba59;
/* rgb */ color: rgb(202, 186, 89);
/* oklch */ color: oklch(78.3% 0.119 100.1);
Tailwind
colors: {
  custom: {
    50: '#ddce8b',
    500: '#caba59',
    950: '#000000',
  },
}
SCSS
$custom: #caba59;
$custom-light: #ddce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#caba59",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 89
  },
  "hsl": {
    "h": 51.504,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78287,
    "c": 0.11947,
    "h": 100.1
  },
  "luminance": 0.48396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABA59

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

Preview Lab → · Contrast checker → · Palette generator →

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