#CAB551#CAB551

#CAB551 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.122 H 97.5°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CAB551
RGBrgb(202, 181, 81)
HSLhsl(50, 53%, 55%)
HSVhsv(50, 60%, 79%)
CMYKcmyk(0%, 10.4%, 59.9%, 20.8%)
CIE-LABlab(73.68, -4.58, 52.55)
CIE-LCHlch(73.68, 52.75, 94.99°)
OKLaboklab(77.15% -0.016 0.1213)
OKLCHoklch(77.15% 0.122 97.5)
XYZxyz(42.3679, 46.2003, 14.4688)
Luminance0.4620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB551 #5166CA
analogous
#CA7851 #CAB551 #A2CA51
triadic
#CAB551 #51CAB5 #B551CA
tetradic
#CAB551 #51CA78 #5166CA #CA51A2
square
#CAB551 #51CA78 #5166CA #CA51A2
split-complementary
#CAB551 #51A2CA #7851CA
monochromatic
#7B6C25 #AA9534 #CAB551 #D8C980 #E7DDAF

Accessibility & contrast

On white

2.05
#CAB551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CAB551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB551
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB551#FFFFFF#000000##000000
##CAB5511.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B146
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#D9A99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab551;
/* rgb */ color: rgb(202, 181, 81);
/* oklch */ color: oklch(77.2% 0.122 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddca85',
    500: '#cab551',
    950: '#000000',
  },
}
SCSS
$custom: #cab551;
$custom-light: #ddca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cab551",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 49.587,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77152,
    "c": 0.12231,
    "h": 97.5
  },
  "luminance": 0.46198
}

Semantic roles & 50–950 ramp

primary
#CAB551
secondary
#A2ABD5
accent
#64DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB551

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

Preview Lab → · Contrast checker → · Palette generator →

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