#CAB772#CAB772

#CAB772 is a light, moderate yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.091 H 94.5°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CAB772
RGBrgb(202, 183, 114)
HSLhsl(47, 45%, 62%)
HSVhsv(47, 44%, 79%)
CMYKcmyk(0%, 9.4%, 43.6%, 20.8%)
CIE-LABlab(74.60, -2.75, 37.48)
CIE-LCHlch(74.60, 37.58, 94.20°)
OKLaboklab(78.01% -0.0072 0.0911)
OKLCHoklch(78.01% 0.091 94.5)
XYZxyz(44.3290, 47.6401, 22.7767)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB772 #7285CA
analogous
#CA8B72 #CAB772 #B1CA72
triadic
#CAB772 #72CAB7 #B772CA
tetradic
#CAB772 #72CA8B #7285CA #CA72B1
square
#CAB772 #72CA8B #7285CA #CA72B1
split-complementary
#CAB772 #72B1CA #8B72CA
monochromatic
#8D7A35 #B9A046 #CAB772 #DBCE9E #EBE4CB

Accessibility & contrast

On white

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

On black

10.53
#CAB772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB772
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB772#FFFFFF#000000##000000
##CAB7721.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46D
Deuteranopia (green-blind)
#C9BA75
Tritanopia (blue-blind)
#D6ADA6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab772;
/* rgb */ color: rgb(202, 183, 114);
/* oklch */ color: oklch(78.0% 0.091 94.5);
Tailwind
colors: {
  custom: {
    50: '#dccc9b',
    500: '#cab772',
    950: '#000000',
  },
}
SCSS
$custom: #cab772;
$custom-light: #dccc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab772",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 114
  },
  "hsl": {
    "h": 47.045,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.7801,
    "c": 0.09137,
    "h": 94.5
  },
  "luminance": 0.47638
}

Semantic roles & 50–950 ramp

primary
#CAB772
secondary
#BCC3DC
accent
#4BB92D
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CAB772

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

Preview Lab → · Contrast checker → · Palette generator →

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