#CABB51#CABB51

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

Color values

HEX#CABB51
RGBrgb(202, 187, 81)
HSLhsl(53, 53%, 55%)
HSVhsv(53, 60%, 79%)
CMYKcmyk(0%, 7.4%, 59.9%, 20.8%)
CIE-LABlab(75.26, -7.71, 54.32)
CIE-LCHlch(75.26, 54.86, 98.07°)
OKLaboklab(78.41% -0.025 0.125)
OKLCHoklch(78.41% 0.127 101.3)
XYZxyz(43.6143, 48.6930, 14.8843)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB51 #5160CA
analogous
#CA7E51 #CABB51 #9CCA51
triadic
#CABB51 #51CABB #BB51CA
tetradic
#CABB51 #51CA7E #5160CA #CA519C
square
#CABB51 #51CA7E #5160CA #CA519C
split-complementary
#CABB51 #519CCA #7E51CA
monochromatic
#7B7025 #AA9B34 #CABB51 #D8CD80 #E7E0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABB51#FFFFFF#000000##000000
##CABB511.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)
#CBB645
Deuteranopia (green-blind)
#CFBC56
Tritanopia (blue-blind)
#D8AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb51;
/* rgb */ color: rgb(202, 187, 81);
/* oklch */ color: oklch(78.4% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#ddcf86',
    500: '#cabb51',
    950: '#000000',
  },
}
SCSS
$custom: #cabb51;
$custom-light: #ddcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb51",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 52.562,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78408,
    "c": 0.12748,
    "h": 101.3
  },
  "luminance": 0.48691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABB51

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

Preview Lab → · Contrast checker → · Palette generator →

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