#CABB52#CABB52

#CABB52 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.4% C 0.127 H 101.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CABB52
RGBrgb(202, 187, 82)
HSLhsl(53, 53%, 56%)
HSVhsv(53, 59%, 79%)
CMYKcmyk(0%, 7.4%, 59.4%, 20.8%)
CIE-LABlab(75.27, -7.63, 53.88)
CIE-LCHlch(75.27, 54.41, 98.07°)
OKLaboklab(78.42% -0.0247 0.1242)
OKLCHoklch(78.42% 0.127 101.2)
XYZxyz(43.6521, 48.7081, 15.0832)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB52 #5261CA
analogous
#CA7F52 #CABB52 #9DCA52
triadic
#CABB52 #52CABB #BB52CA
tetradic
#CABB52 #52CA7F #5261CA #CA529D
square
#CABB52 #52CA7F #5261CA #CA529D
split-complementary
#CABB52 #529DCA #7F52CA
monochromatic
#7C7126 #AB9C34 #CABB52 #D8CD81 #E7E0B0

Accessibility & contrast

On white

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

On black

10.74
#CABB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB52
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB52#FFFFFF#000000##000000
##CABB521.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#D8AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb52;
/* rgb */ color: rgb(202, 187, 82);
/* oklch */ color: oklch(78.4% 0.127 101.2);
Tailwind
colors: {
  custom: {
    50: '#ddcf86',
    500: '#cabb52',
    950: '#000000',
  },
}
SCSS
$custom: #cabb52;
$custom-light: #ddcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb52",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 52.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78419,
    "c": 0.12663,
    "h": 101.2
  },
  "luminance": 0.48706
}

Semantic roles & 50–950 ramp

primary
#CABB52
secondary
#A3A9D5
accent
#5DDD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABB52

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

Preview Lab → · Contrast checker → · Palette generator →

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