#CAB05F#CAB05F

#CAB05F is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.105 H 92.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CAB05F
RGBrgb(202, 176, 95)
HSLhsl(45, 50%, 58%)
HSVhsv(45, 53%, 79%)
CMYKcmyk(0%, 12.9%, 53%, 20.8%)
CIE-LABlab(72.52, -0.86, 44.52)
CIE-LCHlch(72.52, 44.53, 91.11°)
OKLaboklab(76.29% -0.0036 0.1054)
OKLCHoklch(76.29% 0.105 92)
XYZxyz(41.9496, 44.4354, 17.1915)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB05F #5F79CA
analogous
#CA7A5F #CAB05F #AECA5F
triadic
#CAB05F #5FCAB0 #B05FCA
tetradic
#CAB05F #5FCA7A #5F79CA #CA5FAE
square
#CAB05F #5FCA7A #5F79CA #CA5FAE
split-complementary
#CAB05F #5FAECA #7A5FCA
monochromatic
#836E2B #B1943B #CAB05F #D9C78D #E8DDBB

Accessibility & contrast

On white

2.12
#CAB05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CAB05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB05F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB05F#FFFFFF#000000##000000
##CAB05F1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAD58
Deuteranopia (green-blind)
#C6B562
Tritanopia (blue-blind)
#D8A59D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab05f;
/* rgb */ color: rgb(202, 176, 95);
/* oklch */ color: oklch(76.3% 0.105 92.0);
Tailwind
colors: {
  custom: {
    50: '#dcc78e',
    500: '#cab05f',
    950: '#000000',
  },
}
SCSS
$custom: #cab05f;
$custom-light: #dcc78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab05f",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 95
  },
  "hsl": {
    "h": 45.421,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76287,
    "c": 0.10547,
    "h": 92
  },
  "luminance": 0.44433
}

Semantic roles & 50–950 ramp

primary
#CAB05F
secondary
#ADB7D8
accent
#70DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB05F

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

Preview Lab → · Contrast checker → · Palette generator →

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