#CABD4A#CABD4A

#CABD4A is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.135 H 102.9°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CABD4A
RGBrgb(202, 189, 74)
HSLhsl(54, 55%, 54%)
HSVhsv(54, 63%, 79%)
CMYKcmyk(0%, 6.4%, 63.4%, 20.8%)
CIE-LABlab(75.73, -9.20, 57.90)
CIE-LCHlch(75.73, 58.63, 99.03°)
OKLaboklab(78.76% -0.0301 0.1316)
OKLCHoklch(78.76% 0.135 102.9)
XYZxyz(43.7924, 49.4479, 13.7149)
Luminance0.4945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD4A #4A57CA
analogous
#CA7D4A #CABD4A #97CA4A
triadic
#CABD4A #4ACABD #BD4ACA
tetradic
#CABD4A #4ACA7D #4A57CA #CA4A97
square
#CABD4A #4ACA7D #4A57CA #CA4A97
split-complementary
#CABD4A #4A97CA #7D4ACA
monochromatic
#776E23 #A69A31 #CABD4A #D8CE79 #E6E0A9

Accessibility & contrast

On white

1.93
#CABD4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#CABD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD4A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD4A#FFFFFF#000000##000000
##CABD4A1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73C
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#D8B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd4a;
/* rgb */ color: rgb(202, 189, 74);
/* oklch */ color: oklch(78.8% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#ddd082',
    500: '#cabd4a',
    950: '#000000',
  },
}
SCSS
$custom: #cabd4a;
$custom-light: #ddd082;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd4a",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 74
  },
  "hsl": {
    "h": 53.906,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78761,
    "c": 0.13503,
    "h": 102.9
  },
  "luminance": 0.49446
}

Semantic roles & 50–950 ramp

primary
#CABD4A
secondary
#9DA2D3
accent
#59DE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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