#CAB249#CAB249

#CAB249 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.127 H 96.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CAB249
RGBrgb(202, 178, 73)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 64%, 79%)
CMYKcmyk(0%, 11.9%, 63.9%, 20.8%)
CIE-LABlab(72.81, -3.55, 55.20)
CIE-LCHlch(72.81, 55.32, 93.68°)
OKLaboklab(76.45% -0.014 0.1258)
OKLCHoklch(76.45% 0.127 96.4)
XYZxyz(41.4820, 44.8804, 12.7798)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB249 #4961CA
analogous
#CA7249 #CAB249 #A2CA49
triadic
#CAB249 #49CAB2 #B249CA
tetradic
#CAB249 #49CA72 #4961CA #CA49A2
square
#CAB249 #49CA72 #4961CA #CA49A2
split-complementary
#CAB249 #49A2CA #7249CA
monochromatic
#766722 #A69030 #CAB249 #D8C678 #E6DAA8

Accessibility & contrast

On white

2.11
#CAB249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CAB249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB249
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB249#FFFFFF#000000##000000
##CAB2491.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3D
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#D9A59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab249;
/* rgb */ color: rgb(202, 178, 73);
/* oklch */ color: oklch(76.4% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#ddc880',
    500: '#cab249',
    950: '#000000',
  },
}
SCSS
$custom: #cab249;
$custom-light: #ddc880;
$custom-dark: #000000;
JSON
{
  "hex": "#cab249",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 48.837,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76446,
    "c": 0.12656,
    "h": 96.4
  },
  "luminance": 0.44878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB249

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

Preview Lab → · Contrast checker → · Palette generator →

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