#CABA39#CABA39

#CABA39 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.0% C 0.144 H 102.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CABA39
RGBrgb(202, 186, 57)
HSLhsl(53, 58%, 51%)
HSVhsv(53, 72%, 79%)
CMYKcmyk(0%, 7.9%, 71.8%, 20.8%)
CIE-LABlab(74.81, -8.60, 63.75)
CIE-LCHlch(74.81, 64.33, 97.68°)
OKLaboklab(77.99% -0.0302 0.1412)
OKLCHoklch(77.99% 0.144 102.1)
XYZxyz(42.6564, 47.9716, 10.8827)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA39 #3949CA
analogous
#CA7139 #CABA39 #92CA39
triadic
#CABA39 #39CABA #BA39CA
tetradic
#CABA39 #39CA71 #3949CA #CA3992
square
#CABA39 #39CA71 #3949CA #CA3992
split-complementary
#CABA39 #3992CA #7139CA
monochromatic
#6C631D #9C8F2A #CABA39 #D7CB69 #E4DC9A

Accessibility & contrast

On white

1.98
#CABA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CABA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA39
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA39#FFFFFF#000000##000000
##CABA391.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB423
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#D9ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba39;
/* rgb */ color: rgb(202, 186, 57);
/* oklch */ color: oklch(78.0% 0.144 102.1);
Tailwind
colors: {
  custom: {
    50: '#dece78',
    500: '#caba39',
    950: '#000000',
  },
}
SCSS
$custom: #caba39;
$custom-light: #dece78;
$custom-dark: #000000;
JSON
{
  "hex": "#caba39",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 53.379,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77989,
    "c": 0.14438,
    "h": 102.1
  },
  "luminance": 0.4797
}

Semantic roles & 50–950 ramp

primary
#CABA39
secondary
#8F96D0
accent
#58E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CABA39

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

Preview Lab → · Contrast checker → · Palette generator →

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