#CAB241#CAB241

#CAB241 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.133 H 97.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CAB241
RGBrgb(202, 178, 65)
HSLhsl(49, 56%, 52%)
HSVhsv(49, 68%, 79%)
CMYKcmyk(0%, 11.9%, 67.8%, 20.8%)
CIE-LABlab(72.75, -4.02, 58.55)
CIE-LCHlch(72.75, 58.69, 93.93°)
OKLaboklab(76.37% -0.0163 0.1316)
OKLCHoklch(76.37% 0.133 97.1)
XYZxyz(41.2336, 44.7810, 11.4717)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB241 #4159CA
analogous
#CA6D41 #CAB241 #9ECA41
triadic
#CAB241 #41CAB2 #B241CA
tetradic
#CAB241 #41CA6D #4159CA #CA419E
square
#CAB241 #41CA6D #4159CA #CA419E
split-complementary
#CAB241 #419ECA #6D41CA
monochromatic
#716320 #A18D2D #CAB241 #D7C571 #E5D9A1

Accessibility & contrast

On white

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

On black

9.96
#CAB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB241
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB241#FFFFFF#000000##000000
##CAB2411.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE32
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#DAA59B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab241;
/* rgb */ color: rgb(202, 178, 65);
/* oklch */ color: oklch(76.4% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#dec87c',
    500: '#cab241',
    950: '#000000',
  },
}
SCSS
$custom: #cab241;
$custom-light: #dec87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cab241",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 49.489,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76373,
    "c": 0.13262,
    "h": 97.1
  },
  "luminance": 0.44779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB241

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

Preview Lab → · Contrast checker → · Palette generator →

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