#CABC79#CABC79

#CABC79 is a light, moderate yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.088 H 97.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CABC79
RGBrgb(202, 188, 121)
HSLhsl(50, 43%, 63%)
HSVhsv(50, 40%, 79%)
CMYKcmyk(0%, 6.9%, 40.1%, 20.8%)
CIE-LABlab(76.01, -4.63, 35.67)
CIE-LCHlch(76.01, 35.97, 97.39°)
OKLaboklab(79.16% -0.012 0.0873)
OKLCHoklch(79.16% 0.088 97.8)
XYZxyz(45.7925, 49.9049, 25.3059)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC79 #7987CA
analogous
#CA9379 #CABC79 #AFCA79
triadic
#CABC79 #79CABC #BC79CA
tetradic
#CABC79 #79CA93 #7987CA #CA79AF
square
#CABC79 #79CA93 #7987CA #CA79AF
split-complementary
#CABC79 #79AFCA #9379CA
monochromatic
#908139 #B9A64D #CABC79 #DBD2A5 #EDE8D1

Accessibility & contrast

On white

1.91
#CABC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CABC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC79
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC79#FFFFFF#000000##000000
##CABC791.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B874
Deuteranopia (green-blind)
#CCBE7C
Tritanopia (blue-blind)
#D5B3AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabc79;
/* rgb */ color: rgb(202, 188, 121);
/* oklch */ color: oklch(79.2% 0.088 97.8);
Tailwind
colors: {
  custom: {
    50: '#dbd0a0',
    500: '#cabc79',
    950: '#000000',
  },
}
SCSS
$custom: #cabc79;
$custom-light: #dbd0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc79",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 121
  },
  "hsl": {
    "h": 49.63,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.79161,
    "c": 0.08816,
    "h": 97.8
  },
  "luminance": 0.49903
}

Semantic roles & 50–950 ramp

primary
#CABC79
secondary
#C1C6DE
accent
#46B62F
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CABC79

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

Preview Lab → · Contrast checker → · Palette generator →

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