#CABB41#CABB41

#CABB41 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.140 H 102.2°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CABB41
RGBrgb(202, 187, 65)
HSLhsl(53, 56%, 52%)
HSVhsv(53, 68%, 79%)
CMYKcmyk(0%, 7.4%, 67.8%, 20.8%)
CIE-LABlab(75.13, -8.70, 60.99)
CIE-LCHlch(75.13, 61.61, 98.12°)
OKLaboklab(78.26% -0.0296 0.1368)
OKLCHoklch(78.26% 0.14 102.2)
XYZxyz(43.0834, 48.4807, 12.0883)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB41 #4150CA
analogous
#CA7741 #CABB41 #94CA41
triadic
#CABB41 #41CABB #BB41CA
tetradic
#CABB41 #41CA77 #4150CA #CA4194
square
#CABB41 #41CA77 #4150CA #CA4194
split-complementary
#CABB41 #4194CA #7741CA
monochromatic
#716820 #A1942D #CABB41 #D7CC71 #E5DDA1

Accessibility & contrast

On white

1.96
#CABB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CABB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB41
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB41#FFFFFF#000000##000000
##CABB411.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB530
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb41;
/* rgb */ color: rgb(202, 187, 65);
/* oklch */ color: oklch(78.3% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#decf7c',
    500: '#cabb41',
    950: '#000000',
  },
}
SCSS
$custom: #cabb41;
$custom-light: #decf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb41",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 65
  },
  "hsl": {
    "h": 53.431,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7826,
    "c": 0.13994,
    "h": 102.2
  },
  "luminance": 0.48479
}

Semantic roles & 50–950 ramp

primary
#CABB41
secondary
#969CD1
accent
#59E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABB41

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

Preview Lab → · Contrast checker → · Palette generator →

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