#CAB05A#CAB05A

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

Color values

HEX#CAB05A
RGBrgb(202, 176, 90)
HSLhsl(46, 51%, 57%)
HSVhsv(46, 55%, 79%)
CMYKcmyk(0%, 12.9%, 55.4%, 20.8%)
CIE-LABlab(72.46, -1.27, 46.91)
CIE-LCHlch(72.46, 46.92, 91.56°)
OKLaboklab(76.22% -0.0054 0.1101)
OKLCHoklch(76.22% 0.11 92.8)
XYZxyz(41.7296, 44.3474, 16.0327)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB05A #5A74CA
analogous
#CA785A #CAB05A #ACCA5A
triadic
#CAB05A #5ACAB0 #B05ACA
tetradic
#CAB05A #5ACA78 #5A74CA #CA5AAC
square
#CAB05A #5ACA78 #5A74CA #CA5AAC
split-complementary
#CAB05A #5AACCA #785ACA
monochromatic
#806C29 #AF9338 #CAB05A #D9C688 #E8DCB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB05A#FFFFFF#000000##000000
##CAB05A1.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)
#C0AD52
Deuteranopia (green-blind)
#C6B55E
Tritanopia (blue-blind)
#D8A49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab05a;
/* rgb */ color: rgb(202, 176, 90);
/* oklch */ color: oklch(76.2% 0.110 92.8);
Tailwind
colors: {
  custom: {
    50: '#ddc78b',
    500: '#cab05a',
    950: '#000000',
  },
}
SCSS
$custom: #cab05a;
$custom-light: #ddc78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab05a",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 90
  },
  "hsl": {
    "h": 46.071,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76222,
    "c": 0.11026,
    "h": 92.8
  },
  "luminance": 0.44345
}

Semantic roles & 50–950 ramp

primary
#CAB05A
secondary
#A9B4D7
accent
#6EDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB05A

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

Preview Lab → · Contrast checker → · Palette generator →

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