#CAB44C#CAB44C

#CAB44C is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.126 H 97.4°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CAB44C
RGBrgb(202, 180, 76)
HSLhsl(50, 54%, 55%)
HSVhsv(50, 62%, 79%)
CMYKcmyk(0%, 10.9%, 62.4%, 20.8%)
CIE-LABlab(73.37, -4.40, 54.47)
CIE-LCHlch(73.37, 54.65, 94.62°)
OKLaboklab(76.89% -0.0161 0.1247)
OKLCHoklch(76.89% 0.126 97.4)
XYZxyz(41.9847, 45.7228, 13.4500)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB44C #4C62CA
analogous
#CA754C #CAB44C #A1CA4C
triadic
#CAB44C #4CCAB4 #B44CCA
tetradic
#CAB44C #4CCA75 #4C62CA #CA4CA1
square
#CAB44C #4CCA75 #4C62CA #CA4CA1
split-complementary
#CAB44C #4CA1CA #754CCA
monochromatic
#786924 #A79332 #CAB44C #D8C87B #E6DCAA

Accessibility & contrast

On white

2.07
#CAB44C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#CAB44C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB44C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB44C#FFFFFF#000000##000000
##CAB44C1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B040
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#D9A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab44c;
/* rgb */ color: rgb(202, 180, 76);
/* oklch */ color: oklch(76.9% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#ddca82',
    500: '#cab44c',
    950: '#000000',
  },
}
SCSS
$custom: #cab44c;
$custom-light: #ddca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cab44c",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 76
  },
  "hsl": {
    "h": 49.524,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.1257,
    "h": 97.4
  },
  "luminance": 0.45721
}

Semantic roles & 50–950 ramp

primary
#CAB44C
secondary
#9EA8D4
accent
#64DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB44C

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

Preview Lab → · Contrast checker → · Palette generator →

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