#CABB72#CABB72

#CABB72 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.095 H 98.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CABB72
RGBrgb(202, 187, 114)
HSLhsl(50, 45%, 62%)
HSVhsv(50, 44%, 79%)
CMYKcmyk(0%, 7.4%, 43.6%, 20.8%)
CIE-LABlab(75.65, -4.85, 38.80)
CIE-LCHlch(75.65, 39.10, 97.12°)
OKLaboklab(78.84% -0.0132 0.0941)
OKLCHoklch(78.84% 0.095 98)
XYZxyz(45.1658, 49.3136, 23.0557)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB72 #7281CA
analogous
#CA8F72 #CABB72 #ADCA72
triadic
#CABB72 #72CABB #BB72CA
tetradic
#CABB72 #72CA8F #7281CA #CA72AD
square
#CABB72 #72CA8F #7281CA #CA72AD
split-complementary
#CABB72 #72ADCA #8F72CA
monochromatic
#8D7E35 #B9A546 #CABB72 #DBD09E #EBE6CB

Accessibility & contrast

On white

1.93
#CABB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CABB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB72
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB72#FFFFFF#000000##000000
##CABB721.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76C
Deuteranopia (green-blind)
#CCBD75
Tritanopia (blue-blind)
#D6B1A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabb72;
/* rgb */ color: rgb(202, 187, 114);
/* oklch */ color: oklch(78.8% 0.095 98.0);
Tailwind
colors: {
  custom: {
    50: '#dccf9c',
    500: '#cabb72',
    950: '#000000',
  },
}
SCSS
$custom: #cabb72;
$custom-light: #dccf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb72",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 114
  },
  "hsl": {
    "h": 49.773,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78839,
    "c": 0.09502,
    "h": 98
  },
  "luminance": 0.49312
}

Semantic roles & 50–950 ramp

primary
#CABB72
secondary
#BCC1DC
accent
#45B92D
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CABB72

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

Preview Lab → · Contrast checker → · Palette generator →

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