#CAB059#CAB059

#CAB059 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.111 H 93.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CAB059
RGBrgb(202, 176, 89)
HSLhsl(46, 52%, 57%)
HSVhsv(46, 56%, 79%)
CMYKcmyk(0%, 12.9%, 55.9%, 20.8%)
CIE-LABlab(72.45, -1.35, 47.38)
CIE-LCHlch(72.45, 47.40, 91.64°)
OKLaboklab(76.21% -0.0058 0.1111)
OKLCHoklch(76.21% 0.111 93)
XYZxyz(41.6873, 44.3305, 15.8101)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB059 #5973CA
analogous
#CA7859 #CAB059 #ABCA59
triadic
#CAB059 #59CAB0 #B059CA
tetradic
#CAB059 #59CA78 #5973CA #CA59AB
square
#CAB059 #59CA78 #5973CA #CA59AB
split-complementary
#CAB059 #59ABCA #7859CA
monochromatic
#806C29 #AE9338 #CAB059 #D9C687 #E8DCB6

Accessibility & contrast

On white

2.13
#CAB059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CAB059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB059
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB059#FFFFFF#000000##000000
##CAB0591.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD51
Deuteranopia (green-blind)
#C6B55D
Tritanopia (blue-blind)
#D9A49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab059;
/* rgb */ color: rgb(202, 176, 89);
/* oklch */ color: oklch(76.2% 0.111 93.0);
Tailwind
colors: {
  custom: {
    50: '#ddc78a',
    500: '#cab059',
    950: '#000000',
  },
}
SCSS
$custom: #cab059;
$custom-light: #ddc78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab059",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 46.195,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76209,
    "c": 0.1112,
    "h": 93
  },
  "luminance": 0.44328
}

Semantic roles & 50–950 ramp

primary
#CAB059
secondary
#A8B3D6
accent
#6DDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB059

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

Preview Lab → · Contrast checker → · Palette generator →

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