#CAB350#CAB350

#CAB350 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.122 H 96.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CAB350
RGBrgb(202, 179, 80)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 60%, 79%)
CMYKcmyk(0%, 11.4%, 60.4%, 20.8%)
CIE-LABlab(73.14, -3.61, 52.41)
CIE-LCHlch(73.14, 52.54, 93.94°)
OKLaboklab(76.72% -0.0133 0.1208)
OKLCHoklch(76.72% 0.122 96.3)
XYZxyz(41.9269, 45.3779, 14.1382)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB350 #5067CA
analogous
#CA7650 #CAB350 #A4CA50
triadic
#CAB350 #50CAB3 #B350CA
tetradic
#CAB350 #50CA76 #5067CA #CA50A4
square
#CAB350 #50CA76 #5067CA #CA50A4
split-complementary
#CAB350 #50A4CA #7650CA
monochromatic
#7A6A25 #A99333 #CAB350 #D8C77F #E6DCAE

Accessibility & contrast

On white

2.08
#CAB350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CAB350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB350
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB350#FFFFFF#000000##000000
##CAB3501.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF46
Deuteranopia (green-blind)
#C9B755
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab350;
/* rgb */ color: rgb(202, 179, 80);
/* oklch */ color: oklch(76.7% 0.122 96.3);
Tailwind
colors: {
  custom: {
    50: '#ddc985',
    500: '#cab350',
    950: '#000000',
  },
}
SCSS
$custom: #cab350;
$custom-light: #ddc985;
$custom-dark: #000000;
JSON
{
  "hex": "#cab350",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 80
  },
  "hsl": {
    "h": 48.689,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76725,
    "c": 0.12156,
    "h": 96.3
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#CAB350
secondary
#A1ABD4
accent
#66DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB350

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

Preview Lab → · Contrast checker → · Palette generator →

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