#CABB4D#CABB4D

#CABB4D is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.131 H 101.6°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CABB4D
RGBrgb(202, 187, 77)
HSLhsl(53, 54%, 55%)
HSVhsv(53, 62%, 79%)
CMYKcmyk(0%, 7.4%, 61.9%, 20.8%)
CIE-LABlab(75.22, -7.98, 56.06)
CIE-LCHlch(75.22, 56.62, 98.10°)
OKLaboklab(78.37% -0.0262 0.1282)
OKLCHoklch(78.37% 0.131 101.6)
XYZxyz(43.4687, 48.6348, 14.1175)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB4D #4D5CCA
analogous
#CA7D4D #CABB4D #9BCA4D
triadic
#CABB4D #4DCABB #BB4DCA
tetradic
#CABB4D #4DCA7D #4D5CCA #CA4D9B
square
#CABB4D #4DCA7D #4D5CCA #CA4D9B
split-complementary
#CABB4D #4D9BCA #7D4DCA
monochromatic
#796F24 #A89A32 #CABB4D #D8CD7C #E6DFAB

Accessibility & contrast

On white

1.96
#CABB4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CABB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB4D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB4D#FFFFFF#000000##000000
##CABB4D1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB640
Deuteranopia (green-blind)
#D0BC53
Tritanopia (blue-blind)
#D8AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb4d;
/* rgb */ color: rgb(202, 187, 77);
/* oklch */ color: oklch(78.4% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#ddcf83',
    500: '#cabb4d',
    950: '#000000',
  },
}
SCSS
$custom: #cabb4d;
$custom-light: #ddcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb4d",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 77
  },
  "hsl": {
    "h": 52.8,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78368,
    "c": 0.13083,
    "h": 101.6
  },
  "luminance": 0.48633
}

Semantic roles & 50–950 ramp

primary
#CABB4D
secondary
#9FA5D4
accent
#5CDD4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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