#CAB34A#CAB34A

#CAB34A is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.127 H 96.9°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CAB34A
RGBrgb(202, 179, 74)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 63%, 79%)
CMYKcmyk(0%, 11.4%, 63.4%, 20.8%)
CIE-LABlab(73.08, -4.01, 55.06)
CIE-LCHlch(73.08, 55.20, 94.17°)
OKLaboklab(76.66% -0.0152 0.1256)
OKLCHoklch(76.66% 0.127 96.9)
XYZxyz(41.7151, 45.2931, 13.0224)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB34A #4A61CA
analogous
#CA734A #CAB34A #A1CA4A
triadic
#CAB34A #4ACAB3 #B34ACA
tetradic
#CAB34A #4ACA73 #4A61CA #CA4AA1
square
#CAB34A #4ACA73 #4A61CA #CA4AA1
split-complementary
#CAB34A #4AA1CA #734ACA
monochromatic
#776823 #A69131 #CAB34A #D8C779 #E6DBA9

Accessibility & contrast

On white

2.09
#CAB34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CAB34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB34A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB34A#FFFFFF#000000##000000
##CAB34A1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#CAB74F
Tritanopia (blue-blind)
#D9A69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab34a;
/* rgb */ color: rgb(202, 179, 74);
/* oklch */ color: oklch(76.7% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#ddc981',
    500: '#cab34a',
    950: '#000000',
  },
}
SCSS
$custom: #cab34a;
$custom-light: #ddc981;
$custom-dark: #000000;
JSON
{
  "hex": "#cab34a",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 49.219,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76663,
    "c": 0.12654,
    "h": 96.9
  },
  "luminance": 0.45291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB34A

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

Preview Lab → · Contrast checker → · Palette generator →

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