#CAB24A#CAB24A

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

Color values

HEX#CAB24A
RGBrgb(202, 178, 74)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 63%, 79%)
CMYKcmyk(0%, 11.9%, 63.4%, 20.8%)
CIE-LABlab(72.82, -3.49, 54.77)
CIE-LCHlch(72.82, 54.88, 93.64°)
OKLaboklab(76.46% -0.0137 0.125)
OKLCHoklch(76.46% 0.126 96.3)
XYZxyz(41.5154, 44.8938, 12.9558)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB24A #4A62CA
analogous
#CA724A #CAB24A #A2CA4A
triadic
#CAB24A #4ACAB2 #B24ACA
tetradic
#CAB24A #4ACA72 #4A62CA #CA4AA2
square
#CAB24A #4ACA72 #4A62CA #CA4AA2
split-complementary
#CAB24A #4AA2CA #724ACA
monochromatic
#776723 #A69031 #CAB24A #D8C679 #E6DAA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB24A#FFFFFF#000000##000000
##CAB24A1.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)
#C3AE3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#D9A59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab24a;
/* rgb */ color: rgb(202, 178, 74);
/* oklch */ color: oklch(76.5% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#ddc881',
    500: '#cab24a',
    950: '#000000',
  },
}
SCSS
$custom: #cab24a;
$custom-light: #ddc881;
$custom-dark: #000000;
JSON
{
  "hex": "#cab24a",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 48.75,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76456,
    "c": 0.12576,
    "h": 96.3
  },
  "luminance": 0.44892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB24A

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

Preview Lab → · Contrast checker → · Palette generator →

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