#CABA4D#CABA4D

#CABA4D is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.130 H 101.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CABA4D
RGBrgb(202, 186, 77)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 62%, 79%)
CMYKcmyk(0%, 7.9%, 61.9%, 20.8%)
CIE-LABlab(74.96, -7.46, 55.77)
CIE-LCHlch(74.96, 56.26, 97.62°)
OKLaboklab(78.16% -0.0248 0.1276)
OKLCHoklch(78.16% 0.13 101)
XYZxyz(43.2573, 48.2120, 14.0470)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA4D #4D5DCA
analogous
#CA7C4D #CABA4D #9CCA4D
triadic
#CABA4D #4DCABA #BA4DCA
tetradic
#CABA4D #4DCA7C #4D5DCA #CA4D9C
square
#CABA4D #4DCA7C #4D5DCA #CA4D9C
split-complementary
#CABA4D #4D9CCA #7C4DCA
monochromatic
#796E24 #A89932 #CABA4D #D8CC7C #E6DFAB

Accessibility & contrast

On white

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

On black

10.64
#CABA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA4D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA4D#FFFFFF#000000##000000
##CABA4D1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB541
Deuteranopia (green-blind)
#CFBB53
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba4d;
/* rgb */ color: rgb(202, 186, 77);
/* oklch */ color: oklch(78.2% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddce83',
    500: '#caba4d',
    950: '#000000',
  },
}
SCSS
$custom: #caba4d;
$custom-light: #ddce83;
$custom-dark: #000000;
JSON
{
  "hex": "#caba4d",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 52.32,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78157,
    "c": 0.12994,
    "h": 101
  },
  "luminance": 0.4821
}

Semantic roles & 50–950 ramp

primary
#CABA4D
secondary
#9FA6D4
accent
#5DDD4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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