#CABA3A#CABA3A

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

Color values

HEX#CABA3A
RGBrgb(202, 186, 58)
HSLhsl(53, 58%, 51%)
HSVhsv(53, 71%, 79%)
CMYKcmyk(0%, 7.9%, 71.3%, 20.8%)
CIE-LABlab(74.81, -8.55, 63.38)
CIE-LCHlch(74.81, 63.96, 97.68°)
OKLaboklab(78% -0.0299 0.1406)
OKLCHoklch(78% 0.144 102)
XYZxyz(42.6816, 47.9817, 11.0153)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA3A #3A4ACA
analogous
#CA723A #CABA3A #92CA3A
triadic
#CABA3A #3ACABA #BA3ACA
tetradic
#CABA3A #3ACA72 #3A4ACA #CA3A92
square
#CABA3A #3ACA72 #3A4ACA #CA3A92
split-complementary
#CABA3A #3A92CA #723ACA
monochromatic
#6C641D #9D902A #CABA3A #D7CB6A #E4DC9A

Accessibility & contrast

On white

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

On black

10.60
#CABA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA3A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA3A#FFFFFF#000000##000000
##CABA3A1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caba3a;
/* rgb */ color: rgb(202, 186, 58);
/* oklch */ color: oklch(78.0% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#dece78',
    500: '#caba3a',
    950: '#000000',
  },
}
SCSS
$custom: #caba3a;
$custom-light: #dece78;
$custom-dark: #000000;
JSON
{
  "hex": "#caba3a",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 53.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77996,
    "c": 0.14375,
    "h": 102
  },
  "luminance": 0.4798
}

Semantic roles & 50–950 ramp

primary
#CABA3A
secondary
#9097D0
accent
#58E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CABA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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