#CAB778#CAB778

#CAB778 is a light, moderate yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.085 H 93.3°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CAB778
RGBrgb(202, 183, 120)
HSLhsl(46, 44%, 63%)
HSVhsv(46, 41%, 79%)
CMYKcmyk(0%, 9.4%, 40.6%, 20.8%)
CIE-LABlab(74.69, -2.11, 34.49)
CIE-LCHlch(74.69, 34.55, 93.51°)
OKLaboklab(78.11% -0.0048 0.0846)
OKLCHoklch(78.11% 0.085 93.3)
XYZxyz(44.6818, 47.7812, 24.6347)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB778 #788BCA
analogous
#CA8E78 #CAB778 #B4CA78
triadic
#CAB778 #78CAB7 #B778CA
tetradic
#CAB778 #78CA8E #788BCA #CA78B4
square
#CAB778 #78CA8E #788BCA #CA78B4
split-complementary
#CAB778 #78B4CA #8E78CA
monochromatic
#8F7B38 #B9A04C #CAB778 #DBCEA4 #EDE6D0

Accessibility & contrast

On white

1.99
#CAB778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CAB778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB778
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB778#FFFFFF#000000##000000
##CAB7781.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B473
Deuteranopia (green-blind)
#C9BA7A
Tritanopia (blue-blind)
#D6AEA7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab778;
/* rgb */ color: rgb(202, 183, 120);
/* oklch */ color: oklch(78.1% 0.085 93.3);
Tailwind
colors: {
  custom: {
    50: '#dbcca0',
    500: '#cab778',
    950: '#000000',
  },
}
SCSS
$custom: #cab778;
$custom-light: #dbcca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cab778",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 120
  },
  "hsl": {
    "h": 46.098,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.7811,
    "c": 0.08471,
    "h": 93.3
  },
  "luminance": 0.4778
}

Semantic roles & 50–950 ramp

primary
#CAB778
secondary
#C0C7DE
accent
#4EB72F
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CAB778

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

Preview Lab → · Contrast checker → · Palette generator →

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