#CAB44B#CAB44B

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

Color values

HEX#CAB44B
RGBrgb(202, 180, 75)
HSLhsl(50, 55%, 54%)
HSVhsv(50, 63%, 79%)
CMYKcmyk(0%, 10.9%, 62.9%, 20.8%)
CIE-LABlab(73.36, -4.47, 54.91)
CIE-LCHlch(73.36, 55.09, 94.65°)
OKLaboklab(76.88% -0.0164 0.1255)
OKLCHoklch(76.88% 0.127 97.5)
XYZxyz(41.9502, 45.7090, 13.2683)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB44B #4B61CA
analogous
#CA754B #CAB44B #A1CA4B
triadic
#CAB44B #4BCAB4 #B44BCA
tetradic
#CAB44B #4BCA75 #4B61CA #CA4BA1
square
#CAB44B #4BCA75 #4B61CA #CA4BA1
split-complementary
#CAB44B #4BA1CA #754BCA
monochromatic
#776923 #A79231 #CAB44B #D8C87A #E6DBAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB44B#FFFFFF#000000##000000
##CAB44B1.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)
#C5B03F
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#D9A79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab44b;
/* rgb */ color: rgb(202, 180, 75);
/* oklch */ color: oklch(76.9% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddca82',
    500: '#cab44b',
    950: '#000000',
  },
}
SCSS
$custom: #cab44b;
$custom-light: #ddca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cab44b",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 75
  },
  "hsl": {
    "h": 49.606,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76881,
    "c": 0.12652,
    "h": 97.5
  },
  "luminance": 0.45707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB44B

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

Preview Lab → · Contrast checker → · Palette generator →

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