#CAB349#CAB349

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

Color values

HEX#CAB349
RGBrgb(202, 179, 73)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 64%, 79%)
CMYKcmyk(0%, 11.4%, 63.9%, 20.8%)
CIE-LABlab(73.08, -4.07, 55.49)
CIE-LCHlch(73.08, 55.64, 94.20°)
OKLaboklab(76.65% -0.0155 0.1264)
OKLCHoklch(76.65% 0.127 97)
XYZxyz(41.6817, 45.2798, 12.8464)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB349 #4960CA
analogous
#CA7349 #CAB349 #A1CA49
triadic
#CAB349 #49CAB3 #B349CA
tetradic
#CAB349 #49CA73 #4960CA #CA49A1
square
#CAB349 #49CA73 #4960CA #CA49A1
split-complementary
#CAB349 #49A1CA #7349CA
monochromatic
#766722 #A69130 #CAB349 #D8C778 #E6DBA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB349#FFFFFF#000000##000000
##CAB3491.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)
#C4AF3D
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#D9A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab349;
/* rgb */ color: rgb(202, 179, 73);
/* oklch */ color: oklch(76.7% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#ddc980',
    500: '#cab349',
    950: '#000000',
  },
}
SCSS
$custom: #cab349;
$custom-light: #ddc980;
$custom-dark: #000000;
JSON
{
  "hex": "#cab349",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 73
  },
  "hsl": {
    "h": 49.302,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76654,
    "c": 0.12733,
    "h": 97
  },
  "luminance": 0.45278
}

Semantic roles & 50–950 ramp

primary
#CAB349
secondary
#9CA6D3
accent
#64DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB349

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

Preview Lab → · Contrast checker → · Palette generator →

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