#CAB641#CAB641

#CAB641 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.2% C 0.136 H 99.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CAB641
RGBrgb(202, 182, 65)
HSLhsl(51, 56%, 52%)
HSVhsv(51, 68%, 79%)
CMYKcmyk(0%, 9.9%, 67.8%, 20.8%)
CIE-LABlab(73.80, -6.11, 59.64)
CIE-LCHlch(73.80, 59.95, 95.85°)
OKLaboklab(77.21% -0.0223 0.1339)
OKLCHoklch(77.21% 0.136 99.4)
XYZxyz(42.0411, 46.3960, 11.7409)
Luminance0.4639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB641 #4155CA
analogous
#CA7241 #CAB641 #99CA41
triadic
#CAB641 #41CAB6 #B641CA
tetradic
#CAB641 #41CA72 #4155CA #CA4199
square
#CAB641 #41CA72 #4155CA #CA4199
split-complementary
#CAB641 #4199CA #7241CA
monochromatic
#716520 #A1902D #CAB641 #D7C871 #E5DBA1

Accessibility & contrast

On white

2.04
#CAB641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CAB641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB641
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB641#FFFFFF#000000##000000
##CAB6411.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#D9A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab641;
/* rgb */ color: rgb(202, 182, 65);
/* oklch */ color: oklch(77.2% 0.136 99.4);
Tailwind
colors: {
  custom: {
    50: '#decb7c',
    500: '#cab641',
    950: '#000000',
  },
}
SCSS
$custom: #cab641;
$custom-light: #decb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cab641",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 51.241,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77208,
    "c": 0.13574,
    "h": 99.4
  },
  "luminance": 0.46394
}

Semantic roles & 50–950 ramp

primary
#CAB641
secondary
#969ED1
accent
#5EE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB641

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

Preview Lab → · Contrast checker → · Palette generator →

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