#CAB24B#CAB24B

#CAB24B is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.125 H 96.2°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CAB24B
RGBrgb(202, 178, 75)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 63%, 79%)
CMYKcmyk(0%, 11.9%, 62.9%, 20.8%)
CIE-LABlab(72.83, -3.42, 54.34)
CIE-LCHlch(72.83, 54.44, 93.60°)
OKLaboklab(76.47% -0.0134 0.1242)
OKLCHoklch(76.47% 0.125 96.2)
XYZxyz(41.5493, 44.9073, 13.1347)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB24B #4B63CA
analogous
#CA734B #CAB24B #A3CA4B
triadic
#CAB24B #4BCAB2 #B24BCA
tetradic
#CAB24B #4BCA73 #4B63CA #CA4BA3
square
#CAB24B #4BCA73 #4B63CA #CA4BA3
split-complementary
#CAB24B #4BA3CA #734BCA
monochromatic
#776823 #A79031 #CAB24B #D8C67A #E6DAAA

Accessibility & contrast

On white

2.10
#CAB24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CAB24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB24B
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB24B#FFFFFF#000000##000000
##CAB24B1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3F
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#D9A59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab24b;
/* rgb */ color: rgb(202, 178, 75);
/* oklch */ color: oklch(76.5% 0.125 96.2);
Tailwind
colors: {
  custom: {
    50: '#ddc881',
    500: '#cab24b',
    950: '#000000',
  },
}
SCSS
$custom: #cab24b;
$custom-light: #ddc881;
$custom-dark: #000000;
JSON
{
  "hex": "#cab24b",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 75
  },
  "hsl": {
    "h": 48.661,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76466,
    "c": 0.12495,
    "h": 96.2
  },
  "luminance": 0.44905
}

Semantic roles & 50–950 ramp

primary
#CAB24B
secondary
#9DA8D3
accent
#66DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB24B

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

Preview Lab → · Contrast checker → · Palette generator →

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