#CABB42#CABB42

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

Color values

HEX#CABB42
RGBrgb(202, 187, 66)
HSLhsl(53, 56%, 53%)
HSVhsv(53, 67%, 79%)
CMYKcmyk(0%, 7.4%, 67.3%, 20.8%)
CIE-LABlab(75.13, -8.65, 60.60)
CIE-LCHlch(75.13, 61.21, 98.12°)
OKLaboklab(78.27% -0.0294 0.1361)
OKLCHoklch(78.27% 0.139 102.2)
XYZxyz(43.1126, 48.4923, 12.2422)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB42 #4251CA
analogous
#CA7742 #CABB42 #95CA42
triadic
#CABB42 #42CABB #BB42CA
tetradic
#CABB42 #42CA77 #4251CA #CA4295
square
#CABB42 #42CA77 #4251CA #CA4295
split-complementary
#CABB42 #4295CA #7742CA
monochromatic
#726920 #A2952D #CABB42 #D7CC72 #E5DDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABB42#FFFFFF#000000##000000
##CABB421.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)
#CCB531
Deuteranopia (green-blind)
#D0BC49
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb42;
/* rgb */ color: rgb(202, 187, 66);
/* oklch */ color: oklch(78.3% 0.139 102.2);
Tailwind
colors: {
  custom: {
    50: '#decf7d',
    500: '#cabb42',
    950: '#000000',
  },
}
SCSS
$custom: #cabb42;
$custom-light: #decf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb42",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 53.382,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78268,
    "c": 0.13924,
    "h": 102.2
  },
  "luminance": 0.48491
}

Semantic roles & 50–950 ramp

primary
#CABB42
secondary
#969DD1
accent
#59DF48
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABB42

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

Preview Lab → · Contrast checker → · Palette generator →

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