#CAB141#CAB141

#CAB141 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.132 H 96.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CAB141
RGBrgb(202, 177, 65)
HSLhsl(49, 56%, 52%)
HSVhsv(49, 68%, 79%)
CMYKcmyk(0%, 12.4%, 67.8%, 20.8%)
CIE-LABlab(72.48, -3.50, 58.28)
CIE-LCHlch(72.48, 58.39, 93.44°)
OKLaboklab(76.17% -0.0148 0.131)
OKLCHoklch(76.17% 0.132 96.5)
XYZxyz(41.0353, 44.3846, 11.4056)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB141 #415ACA
analogous
#CA6C41 #CAB141 #9FCA41
triadic
#CAB141 #41CAB1 #B141CA
tetradic
#CAB141 #41CA6C #415ACA #CA419F
square
#CAB141 #41CA6C #415ACA #CA419F
split-complementary
#CAB141 #419FCA #6C41CA
monochromatic
#716220 #A18C2D #CAB141 #D7C571 #E5D8A1

Accessibility & contrast

On white

2.13
#CAB141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#CAB141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB141
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB141#FFFFFF#000000##000000
##CAB1411.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#DAA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab141;
/* rgb */ color: rgb(202, 177, 65);
/* oklch */ color: oklch(76.2% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#dec87b',
    500: '#cab141',
    950: '#000000',
  },
}
SCSS
$custom: #cab141;
$custom-light: #dec87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab141",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 49.051,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76165,
    "c": 0.13188,
    "h": 96.5
  },
  "luminance": 0.44382
}

Semantic roles & 50–950 ramp

primary
#CAB141
secondary
#96A0D1
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB141

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

Preview Lab → · Contrast checker → · Palette generator →

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