#CABC78#CABC78

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

Color values

HEX#CABC78
RGBrgb(202, 188, 120)
HSLhsl(50, 44%, 63%)
HSVhsv(50, 41%, 79%)
CMYKcmyk(0%, 6.9%, 40.6%, 20.8%)
CIE-LABlab(76.00, -4.74, 36.17)
CIE-LCHlch(76.00, 36.48, 97.46°)
OKLaboklab(79.14% -0.0124 0.0884)
OKLCHoklch(79.14% 0.089 98)
XYZxyz(45.7315, 49.8805, 24.9846)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC78 #7886CA
analogous
#CA9378 #CABC78 #AFCA78
triadic
#CABC78 #78CABC #BC78CA
tetradic
#CABC78 #78CA93 #7886CA #CA78AF
square
#CABC78 #78CA93 #7886CA #CA78AF
split-complementary
#CABC78 #78AFCA #9378CA
monochromatic
#8F8038 #B9A64C #CABC78 #DBD2A4 #EDE8D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABC78#FFFFFF#000000##000000
##CABC781.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)
#C8B873
Deuteranopia (green-blind)
#CCBE7B
Tritanopia (blue-blind)
#D6B3AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabc78;
/* rgb */ color: rgb(202, 188, 120);
/* oklch */ color: oklch(79.1% 0.089 98.0);
Tailwind
colors: {
  custom: {
    50: '#dbd0a0',
    500: '#cabc78',
    950: '#000000',
  },
}
SCSS
$custom: #cabc78;
$custom-light: #dbd0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc78",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 49.756,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.79144,
    "c": 0.0893,
    "h": 98
  },
  "luminance": 0.49879
}

Semantic roles & 50–950 ramp

primary
#CABC78
secondary
#C0C5DE
accent
#46B72F
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CABC78

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

Preview Lab → · Contrast checker → · Palette generator →

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