#CAB161#CAB161

#CAB161 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.104 H 92.4°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CAB161
RGBrgb(202, 177, 97)
HSLhsl(46, 50%, 59%)
HSVhsv(46, 52%, 79%)
CMYKcmyk(0%, 12.4%, 52%, 20.8%)
CIE-LABlab(72.80, -1.22, 43.87)
CIE-LCHlch(72.80, 43.89, 91.59°)
OKLaboklab(76.52% -0.0044 0.1042)
OKLCHoklch(76.52% 0.104 92.4)
XYZxyz(42.2385, 44.8658, 17.7420)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB161 #617ACA
analogous
#CA7C61 #CAB161 #AECA61
triadic
#CAB161 #61CAB1 #B161CA
tetradic
#CAB161 #61CA7C #617ACA #CA61AE
square
#CAB161 #61CA7C #617ACA #CA61AE
split-complementary
#CAB161 #61AECA #7C61CA
monochromatic
#846F2C #B2963C #CAB161 #D9C88F #E9DEBD

Accessibility & contrast

On white

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

On black

9.97
#CAB161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB161
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB161#FFFFFF#000000##000000
##CAB1611.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE5A
Deuteranopia (green-blind)
#C7B664
Tritanopia (blue-blind)
#D8A69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab161;
/* rgb */ color: rgb(202, 177, 97);
/* oklch */ color: oklch(76.5% 0.104 92.4);
Tailwind
colors: {
  custom: {
    50: '#dcc890',
    500: '#cab161',
    950: '#000000',
  },
}
SCSS
$custom: #cab161;
$custom-light: #dcc890;
$custom-dark: #000000;
JSON
{
  "hex": "#cab161",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 97
  },
  "hsl": {
    "h": 45.714,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.76519,
    "c": 0.10426,
    "h": 92.4
  },
  "luminance": 0.44864
}

Semantic roles & 50–950 ramp

primary
#CAB161
secondary
#AFB9D8
accent
#70D94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CAB161

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

Preview Lab → · Contrast checker → · Palette generator →

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