#CAB759#CAB759

#CAB759 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.117 H 98.1°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CAB759
RGBrgb(202, 183, 89)
HSLhsl(50, 52%, 57%)
HSVhsv(50, 56%, 79%)
CMYKcmyk(0%, 9.4%, 55.9%, 20.8%)
CIE-LABlab(74.28, -5.03, 49.51)
CIE-LCHlch(74.28, 49.77, 95.80°)
OKLaboklab(77.66% -0.0164 0.1157)
OKLCHoklch(77.66% 0.117 98.1)
XYZxyz(43.0954, 47.1466, 16.2794)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB759 #596CCA
analogous
#CA7F59 #CAB759 #A4CA59
triadic
#CAB759 #59CAB7 #B759CA
tetradic
#CAB759 #59CA7F #596CCA #CA59A4
square
#CAB759 #59CA7F #596CCA #CA59A4
split-complementary
#CAB759 #59A4CA #7F59CA
monochromatic
#807129 #AE9A38 #CAB759 #D9CB87 #E8DFB6

Accessibility & contrast

On white

2.01
#CAB759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CAB759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB759
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB759#FFFFFF#000000##000000
##CAB7591.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B350
Deuteranopia (green-blind)
#CCBA5D
Tritanopia (blue-blind)
#D8ABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab759;
/* rgb */ color: rgb(202, 183, 89);
/* oklch */ color: oklch(77.7% 0.117 98.1);
Tailwind
colors: {
  custom: {
    50: '#ddcc8b',
    500: '#cab759',
    950: '#000000',
  },
}
SCSS
$custom: #cab759;
$custom-light: #ddcc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab759",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 89
  },
  "hsl": {
    "h": 49.912,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.11682,
    "h": 98.1
  },
  "luminance": 0.47145
}

Semantic roles & 50–950 ramp

primary
#CAB759
secondary
#A8B0D6
accent
#65DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB759

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

Preview Lab → · Contrast checker → · Palette generator →

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