#CAB341#CAB341

#CAB341 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.133 H 97.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CAB341
RGBrgb(202, 179, 65)
HSLhsl(50, 56%, 52%)
HSVhsv(50, 68%, 79%)
CMYKcmyk(0%, 11.4%, 67.8%, 20.8%)
CIE-LABlab(73.01, -4.55, 58.82)
CIE-LCHlch(73.01, 59.00, 94.42°)
OKLaboklab(76.58% -0.0178 0.1322)
OKLCHoklch(76.58% 0.133 97.7)
XYZxyz(41.4333, 45.1804, 11.5383)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB341 #4158CA
analogous
#CA6E41 #CAB341 #9DCA41
triadic
#CAB341 #41CAB3 #B341CA
tetradic
#CAB341 #41CA6E #4158CA #CA419D
square
#CAB341 #41CA6E #4158CA #CA419D
split-complementary
#CAB341 #419DCA #6E41CA
monochromatic
#716320 #A18D2D #CAB341 #D7C671 #E5D9A1

Accessibility & contrast

On white

2.09
#CAB341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CAB341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB341
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB341#FFFFFF#000000##000000
##CAB3411.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF32
Deuteranopia (green-blind)
#CAB747
Tritanopia (blue-blind)
#DAA69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab341;
/* rgb */ color: rgb(202, 179, 65);
/* oklch */ color: oklch(76.6% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#dec97c',
    500: '#cab341',
    950: '#000000',
  },
}
SCSS
$custom: #cab341;
$custom-light: #dec97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cab341",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 49.927,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76581,
    "c": 0.13338,
    "h": 97.7
  },
  "luminance": 0.45178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB341

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

Preview Lab → · Contrast checker → · Palette generator →

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