#CAB24C#CAB24C

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

Color values

HEX#CAB24C
RGBrgb(202, 178, 76)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 62%, 79%)
CMYKcmyk(0%, 11.9%, 62.4%, 20.8%)
CIE-LABlab(72.84, -3.35, 53.90)
CIE-LCHlch(72.84, 54.00, 93.56°)
OKLaboklab(76.48% -0.0131 0.1234)
OKLCHoklch(76.48% 0.124 96.1)
XYZxyz(41.5838, 44.9211, 13.3164)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB24C #4C64CA
analogous
#CA734C #CAB24C #A3CA4C
triadic
#CAB24C #4CCAB2 #B24CCA
tetradic
#CAB24C #4CCA73 #4C64CA #CA4CA3
square
#CAB24C #4CCA73 #4C64CA #CA4CA3
split-complementary
#CAB24C #4CA3CA #734CCA
monochromatic
#786824 #A79132 #CAB24C #D8C67B #E6DBAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB24C#FFFFFF#000000##000000
##CAB24C1.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)
#C3AE41
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#D9A59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab24c;
/* rgb */ color: rgb(202, 178, 76);
/* oklch */ color: oklch(76.5% 0.124 96.1);
Tailwind
colors: {
  custom: {
    50: '#ddc882',
    500: '#cab24c',
    950: '#000000',
  },
}
SCSS
$custom: #cab24c;
$custom-light: #ddc882;
$custom-dark: #000000;
JSON
{
  "hex": "#cab24c",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 76
  },
  "hsl": {
    "h": 48.571,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76476,
    "c": 0.12413,
    "h": 96.1
  },
  "luminance": 0.44919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB24C

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

Preview Lab → · Contrast checker → · Palette generator →

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