#CABB4A#CABB4A

#CABB4A is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.133 H 101.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CABB4A
RGBrgb(202, 187, 74)
HSLhsl(53, 55%, 54%)
HSVhsv(53, 63%, 79%)
CMYKcmyk(0%, 7.4%, 63.4%, 20.8%)
CIE-LABlab(75.20, -8.17, 57.33)
CIE-LCHlch(75.20, 57.91, 98.11°)
OKLaboklab(78.34% -0.0271 0.1304)
OKLCHoklch(78.34% 0.133 101.7)
XYZxyz(43.3652, 48.5934, 13.5724)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB4A #4A59CA
analogous
#CA7B4A #CABB4A #99CA4A
triadic
#CABB4A #4ACABB #BB4ACA
tetradic
#CABB4A #4ACA7B #4A59CA #CA4A99
square
#CABB4A #4ACA7B #4A59CA #CA4A99
split-complementary
#CABB4A #4A99CA #7B4ACA
monochromatic
#776D23 #A69831 #CABB4A #D8CD79 #E6DFA9

Accessibility & contrast

On white

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

On black

10.72
#CABB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB4A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB4A#FFFFFF#000000##000000
##CABB4A1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB63C
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#D9AFA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb4a;
/* rgb */ color: rgb(202, 187, 74);
/* oklch */ color: oklch(78.3% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddcf82',
    500: '#cabb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cabb4a;
$custom-light: #ddcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb4a",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 52.969,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78339,
    "c": 0.13323,
    "h": 101.7
  },
  "luminance": 0.48592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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