#CAB361#CAB361

#CAB361 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.106 H 94.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CAB361
RGBrgb(202, 179, 97)
HSLhsl(47, 50%, 59%)
HSVhsv(47, 52%, 79%)
CMYKcmyk(0%, 11.4%, 52%, 20.8%)
CIE-LABlab(73.33, -2.27, 44.50)
CIE-LCHlch(73.33, 44.56, 92.92°)
OKLaboklab(76.93% -0.0075 0.1055)
OKLCHoklch(76.93% 0.106 94.1)
XYZxyz(42.6364, 45.6617, 17.8747)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB361 #6178CA
analogous
#CA7E61 #CAB361 #ACCA61
triadic
#CAB361 #61CAB3 #B361CA
tetradic
#CAB361 #61CA7E #6178CA #CA61AC
square
#CAB361 #61CA7E #6178CA #CA61AC
split-complementary
#CAB361 #61ACCA #7E61CA
monochromatic
#84712C #B2983C #CAB361 #D9C98F #E9DFBD

Accessibility & contrast

On white

2.07
#CAB361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CAB361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB361
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB361#FFFFFF#000000##000000
##CAB3611.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05A
Deuteranopia (green-blind)
#C8B764
Tritanopia (blue-blind)
#D8A8A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab361;
/* rgb */ color: rgb(202, 179, 97);
/* oklch */ color: oklch(76.9% 0.106 94.1);
Tailwind
colors: {
  custom: {
    50: '#dcc990',
    500: '#cab361',
    950: '#000000',
  },
}
SCSS
$custom: #cab361;
$custom-light: #dcc990;
$custom-dark: #000000;
JSON
{
  "hex": "#cab361",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 97
  },
  "hsl": {
    "h": 46.857,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.76932,
    "c": 0.10581,
    "h": 94.1
  },
  "luminance": 0.4566
}

Semantic roles & 50–950 ramp

primary
#CAB361
secondary
#AFB8D8
accent
#6DD94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CAB361

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

Preview Lab → · Contrast checker → · Palette generator →

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