#CABC72#CABC72

#CABC72 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.096 H 98.8°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CABC72
RGBrgb(202, 188, 114)
HSLhsl(50, 45%, 62%)
HSVhsv(50, 44%, 79%)
CMYKcmyk(0%, 6.9%, 43.6%, 20.8%)
CIE-LABlab(75.91, -5.37, 39.13)
CIE-LCHlch(75.91, 39.50, 97.82°)
OKLaboklab(79.05% -0.0148 0.0948)
OKLCHoklch(79.05% 0.096 98.8)
XYZxyz(45.3787, 49.7394, 23.1266)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC72 #7280CA
analogous
#CA9072 #CABC72 #ACCA72
triadic
#CABC72 #72CABC #BC72CA
tetradic
#CABC72 #72CA90 #7280CA #CA72AC
square
#CABC72 #72CA90 #7280CA #CA72AC
split-complementary
#CABC72 #72ACCA #9072CA
monochromatic
#8D7F35 #B9A746 #CABC72 #DBD19E #EBE6CB

Accessibility & contrast

On white

1.92
#CABC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#CABC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC72
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC72#FFFFFF#000000##000000
##CABC721.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86C
Deuteranopia (green-blind)
#CDBD75
Tritanopia (blue-blind)
#D6B2AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabc72;
/* rgb */ color: rgb(202, 188, 114);
/* oklch */ color: oklch(79.0% 0.096 98.8);
Tailwind
colors: {
  custom: {
    50: '#dcd09c',
    500: '#cabc72',
    950: '#000000',
  },
}
SCSS
$custom: #cabc72;
$custom-light: #dcd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc72",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 114
  },
  "hsl": {
    "h": 50.455,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79047,
    "c": 0.09598,
    "h": 98.8
  },
  "luminance": 0.49738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CABC72

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

Preview Lab → · Contrast checker → · Palette generator →

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