#CAB84A#CAB84A

#CAB84A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.131 H 100.0°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#CAB84A
RGBrgb(202, 184, 74)
HSLhsl(52, 55%, 54%)
HSVhsv(52, 63%, 79%)
CMYKcmyk(0%, 8.9%, 63.4%, 20.8%)
CIE-LABlab(74.40, -6.62, 56.48)
CIE-LCHlch(74.40, 56.86, 96.68°)
OKLaboklab(77.71% -0.0227 0.1286)
OKLCHoklch(77.71% 0.131 100)
XYZxyz(42.7354, 47.3338, 13.3625)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB84A #4A5CCA
analogous
#CA784A #CAB84A #9CCA4A
triadic
#CAB84A #4ACAB8 #B84ACA
tetradic
#CAB84A #4ACA78 #4A5CCA #CA4A9C
square
#CAB84A #4ACA78 #4A5CCA #CA4A9C
split-complementary
#CAB84A #4A9CCA #784ACA
monochromatic
#776B23 #A69631 #CAB84A #D8CB79 #E6DDA9

Accessibility & contrast

On white

2.01
#CAB84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#CAB84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB84A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB84A#FFFFFF#000000##000000
##CAB84A1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33D
Deuteranopia (green-blind)
#CEBA50
Tritanopia (blue-blind)
#D9ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab84a;
/* rgb */ color: rgb(202, 184, 74);
/* oklch */ color: oklch(77.7% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#ddcd81',
    500: '#cab84a',
    950: '#000000',
  },
}
SCSS
$custom: #cab84a;
$custom-light: #ddcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cab84a",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 51.563,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77708,
    "c": 0.13062,
    "h": 100
  },
  "luminance": 0.47332
}

Semantic roles & 50–950 ramp

primary
#CAB84A
secondary
#9DA4D3
accent
#5FDE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB84A

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

Preview Lab → · Contrast checker → · Palette generator →

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