#CABA51#CABA51

#CABA51 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.127 H 100.7°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CABA51
RGBrgb(202, 186, 81)
HSLhsl(52, 53%, 55%)
HSVhsv(52, 60%, 79%)
CMYKcmyk(0%, 7.9%, 59.9%, 20.8%)
CIE-LABlab(75.00, -7.19, 54.02)
CIE-LCHlch(75.00, 54.50, 97.58°)
OKLaboklab(78.2% -0.0235 0.1244)
OKLCHoklch(78.2% 0.127 100.7)
XYZxyz(43.4029, 48.2702, 14.8138)
Luminance0.4827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA51 #5161CA
analogous
#CA7D51 #CABA51 #9DCA51
triadic
#CABA51 #51CABA #BA51CA
tetradic
#CABA51 #51CA7D #5161CA #CA519D
square
#CABA51 #51CA7D #5161CA #CA519D
split-complementary
#CABA51 #519DCA #7D51CA
monochromatic
#7B7025 #AA9A34 #CABA51 #D8CD80 #E7DFAF

Accessibility & contrast

On white

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

On black

10.65
#CABA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA51
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA51#FFFFFF#000000##000000
##CABA511.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#CFBB56
Tritanopia (blue-blind)
#D8AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba51;
/* rgb */ color: rgb(202, 186, 81);
/* oklch */ color: oklch(78.2% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#ddce86',
    500: '#caba51',
    950: '#000000',
  },
}
SCSS
$custom: #caba51;
$custom-light: #ddce86;
$custom-dark: #000000;
JSON
{
  "hex": "#caba51",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 52.066,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78198,
    "c": 0.12659,
    "h": 100.7
  },
  "luminance": 0.48268
}

Semantic roles & 50–950 ramp

primary
#CABA51
secondary
#A2A9D5
accent
#5EDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA51

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

Preview Lab → · Contrast checker → · Palette generator →

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