#CAB34D#CAB34D

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

Color values

HEX#CAB34D
RGBrgb(202, 179, 77)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 62%, 79%)
CMYKcmyk(0%, 11.4%, 61.9%, 20.8%)
CIE-LABlab(73.11, -3.81, 53.75)
CIE-LCHlch(73.11, 53.88, 94.06°)
OKLaboklab(76.69% -0.0143 0.1233)
OKLCHoklch(76.69% 0.124 96.6)
XYZxyz(41.8186, 45.3345, 13.5674)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB34D #4D64CA
analogous
#CA754D #CAB34D #A3CA4D
triadic
#CAB34D #4DCAB3 #B34DCA
tetradic
#CAB34D #4DCA75 #4D64CA #CA4DA3
square
#CAB34D #4DCA75 #4D64CA #CA4DA3
split-complementary
#CAB34D #4DA3CA #754DCA
monochromatic
#796924 #A89232 #CAB34D #D8C77C #E6DBAB

Accessibility & contrast

On white

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

On black

10.07
#CAB34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB34D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB34D#FFFFFF#000000##000000
##CAB34D1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF42
Deuteranopia (green-blind)
#CAB752
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab34d;
/* rgb */ color: rgb(202, 179, 77);
/* oklch */ color: oklch(76.7% 0.124 96.6);
Tailwind
colors: {
  custom: {
    50: '#ddc983',
    500: '#cab34d',
    950: '#000000',
  },
}
SCSS
$custom: #cab34d;
$custom-light: #ddc983;
$custom-dark: #000000;
JSON
{
  "hex": "#cab34d",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 77
  },
  "hsl": {
    "h": 48.96,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76694,
    "c": 0.12409,
    "h": 96.6
  },
  "luminance": 0.45333
}

Semantic roles & 50–950 ramp

primary
#CAB34D
secondary
#9FA9D4
accent
#65DD4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CAB34D

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

Preview Lab → · Contrast checker → · Palette generator →

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