#CAB351#CAB351

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

Color values

HEX#CAB351
RGBrgb(202, 179, 81)
HSLhsl(49, 53%, 55%)
HSVhsv(49, 60%, 79%)
CMYKcmyk(0%, 11.4%, 59.9%, 20.8%)
CIE-LABlab(73.15, -3.54, 51.96)
CIE-LCHlch(73.15, 52.08, 93.89°)
OKLaboklab(76.74% -0.013 0.12)
OKLCHoklch(76.74% 0.121 96.2)
XYZxyz(41.9642, 45.3928, 14.3343)
Luminance0.4539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB351 #5168CA
analogous
#CA7651 #CAB351 #A4CA51
triadic
#CAB351 #51CAB3 #B351CA
tetradic
#CAB351 #51CA76 #5168CA #CA51A4
square
#CAB351 #51CA76 #5168CA #CA51A4
split-complementary
#CAB351 #51A4CA #7651CA
monochromatic
#7B6B25 #AA9434 #CAB351 #D8C780 #E7DCAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB351#FFFFFF#000000##000000
##CAB3511.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)
#C3AF47
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab351;
/* rgb */ color: rgb(202, 179, 81);
/* oklch */ color: oklch(76.7% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#ddc985',
    500: '#cab351',
    950: '#000000',
  },
}
SCSS
$custom: #cab351;
$custom-light: #ddc985;
$custom-dark: #000000;
JSON
{
  "hex": "#cab351",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 48.595,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76736,
    "c": 0.1207,
    "h": 96.2
  },
  "luminance": 0.45391
}

Semantic roles & 50–950 ramp

primary
#CAB351
secondary
#A2ACD5
accent
#67DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB351

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

Preview Lab → · Contrast checker → · Palette generator →

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