#CABA52#CABA52

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

Color values

HEX#CABA52
RGBrgb(202, 186, 82)
HSLhsl(52, 53%, 56%)
HSVhsv(52, 59%, 79%)
CMYKcmyk(0%, 7.9%, 59.4%, 20.8%)
CIE-LABlab(75.00, -7.12, 53.58)
CIE-LCHlch(75.00, 54.05, 97.57°)
OKLaboklab(78.21% -0.0232 0.1236)
OKLCHoklch(78.21% 0.126 100.6)
XYZxyz(43.4406, 48.2853, 15.0128)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA52 #5262CA
analogous
#CA7E52 #CABA52 #9ECA52
triadic
#CABA52 #52CABA #BA52CA
tetradic
#CABA52 #52CA7E #5262CA #CA529E
square
#CABA52 #52CA7E #5262CA #CA529E
split-complementary
#CABA52 #529ECA #7E52CA
monochromatic
#7C7026 #AB9B34 #CABA52 #D8CD81 #E7DFB0

Accessibility & contrast

On white

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

On black

10.66
#CABA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA52
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA52#FFFFFF#000000##000000
##CABA521.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caba52;
/* rgb */ color: rgb(202, 186, 82);
/* oklch */ color: oklch(78.2% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#ddce86',
    500: '#caba52',
    950: '#000000',
  },
}
SCSS
$custom: #caba52;
$custom-light: #ddce86;
$custom-dark: #000000;
JSON
{
  "hex": "#caba52",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 52,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78209,
    "c": 0.12573,
    "h": 100.6
  },
  "luminance": 0.48284
}

Semantic roles & 50–950 ramp

primary
#CABA52
secondary
#A3AAD5
accent
#5FDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA52

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

Preview Lab → · Contrast checker → · Palette generator →

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