#CABA50#CABA50

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

Color values

HEX#CABA50
RGBrgb(202, 186, 80)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 60%, 79%)
CMYKcmyk(0%, 7.9%, 60.4%, 20.8%)
CIE-LABlab(74.99, -7.26, 54.46)
CIE-LCHlch(74.99, 54.94, 97.59°)
OKLaboklab(78.19% -0.0238 0.1252)
OKLCHoklch(78.19% 0.127 100.8)
XYZxyz(43.3657, 48.2553, 14.6178)
Luminance0.4825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA50 #5060CA
analogous
#CA7D50 #CABA50 #9DCA50
triadic
#CABA50 #50CABA #BA50CA
tetradic
#CABA50 #50CA7D #5060CA #CA509D
square
#CABA50 #50CA7D #5060CA #CA509D
split-complementary
#CABA50 #509DCA #7D50CA
monochromatic
#7A6F25 #A99A33 #CABA50 #D8CD7F #E6DFAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABA50#FFFFFF#000000##000000
##CABA501.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)
#CAB544
Deuteranopia (green-blind)
#CFBB55
Tritanopia (blue-blind)
#D8AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caba50;
/* rgb */ color: rgb(202, 186, 80);
/* oklch */ color: oklch(78.2% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#ddce85',
    500: '#caba50',
    950: '#000000',
  },
}
SCSS
$custom: #caba50;
$custom-light: #ddce85;
$custom-dark: #000000;
JSON
{
  "hex": "#caba50",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 52.131,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78188,
    "c": 0.12744,
    "h": 100.8
  },
  "luminance": 0.48254
}

Semantic roles & 50–950 ramp

primary
#CABA50
secondary
#A1A8D4
accent
#5EDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA50

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

Preview Lab → · Contrast checker → · Palette generator →

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