#CAB05C#CAB05C

#CAB05C is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.108 H 92.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CAB05C
RGBrgb(202, 176, 92)
HSLhsl(46, 51%, 58%)
HSVhsv(46, 54%, 79%)
CMYKcmyk(0%, 12.9%, 54.5%, 20.8%)
CIE-LABlab(72.48, -1.11, 45.96)
CIE-LCHlch(72.48, 45.97, 91.39°)
OKLaboklab(76.25% -0.0047 0.1083)
OKLCHoklch(76.25% 0.108 92.5)
XYZxyz(41.8158, 44.3819, 16.4871)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB05C #5C76CA
analogous
#CA795C #CAB05C #ADCA5C
triadic
#CAB05C #5CCAB0 #B05CCA
tetradic
#CAB05C #5CCA79 #5C76CA #CA5CAD
square
#CAB05C #5CCA79 #5C76CA #CA5CAD
split-complementary
#CAB05C #5CADCA #795CCA
monochromatic
#816D2A #B09439 #CAB05C #D9C68A #E8DDB8

Accessibility & contrast

On white

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

On black

9.88
#CAB05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB05C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB05C#FFFFFF#000000##000000
##CAB05C1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD54
Deuteranopia (green-blind)
#C6B55F
Tritanopia (blue-blind)
#D8A49D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab05c;
/* rgb */ color: rgb(202, 176, 92);
/* oklch */ color: oklch(76.2% 0.108 92.5);
Tailwind
colors: {
  custom: {
    50: '#dcc78c',
    500: '#cab05c',
    950: '#000000',
  },
}
SCSS
$custom: #cab05c;
$custom-light: #dcc78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cab05c",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 92
  },
  "hsl": {
    "h": 45.818,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76247,
    "c": 0.10837,
    "h": 92.5
  },
  "luminance": 0.4438
}

Semantic roles & 50–950 ramp

primary
#CAB05C
secondary
#ABB5D7
accent
#6FDA4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB05C

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

Preview Lab → · Contrast checker → · Palette generator →

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