#CABA4A#CABA4A

#CABA4A is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.132 H 101.2°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CABA4A
RGBrgb(202, 186, 74)
HSLhsl(53, 55%, 54%)
HSVhsv(53, 63%, 79%)
CMYKcmyk(0%, 7.9%, 63.4%, 20.8%)
CIE-LABlab(74.93, -7.66, 57.05)
CIE-LCHlch(74.93, 57.56, 97.64°)
OKLaboklab(78.13% -0.0256 0.1298)
OKLCHoklch(78.13% 0.132 101.2)
XYZxyz(43.1538, 48.1706, 13.5020)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA4A #4A5ACA
analogous
#CA7A4A #CABA4A #9ACA4A
triadic
#CABA4A #4ACABA #BA4ACA
tetradic
#CABA4A #4ACA7A #4A5ACA #CA4A9A
square
#CABA4A #4ACA7A #4A5ACA #CA4A9A
split-complementary
#CABA4A #4A9ACA #7A4ACA
monochromatic
#776C23 #A69731 #CABA4A #D8CC79 #E6DEA9

Accessibility & contrast

On white

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

On black

10.63
#CABA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA4A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA4A#FFFFFF#000000##000000
##CABA4A1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53D
Deuteranopia (green-blind)
#CFBB50
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba4a;
/* rgb */ color: rgb(202, 186, 74);
/* oklch */ color: oklch(78.1% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#ddce81',
    500: '#caba4a',
    950: '#000000',
  },
}
SCSS
$custom: #caba4a;
$custom-light: #ddce81;
$custom-dark: #000000;
JSON
{
  "hex": "#caba4a",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 52.5,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78128,
    "c": 0.13235,
    "h": 101.2
  },
  "luminance": 0.48169
}

Semantic roles & 50–950 ramp

primary
#CABA4A
secondary
#9DA3D3
accent
#5CDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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