#CAB56F#CAB56F

#CAB56F is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.093 H 93.3°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CAB56F
RGBrgb(202, 181, 111)
HSLhsl(46, 46%, 61%)
HSVhsv(46, 45%, 79%)
CMYKcmyk(0%, 10.4%, 45%, 20.8%)
CIE-LABlab(74.03, -2.01, 38.30)
CIE-LCHlch(74.03, 38.36, 93.00°)
OKLaboklab(77.55% -0.0053 0.0928)
OKLCHoklch(77.55% 0.093 93.3)
XYZxyz(43.7515, 46.7537, 21.7556)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB56F #6F84CA
analogous
#CA886F #CAB56F #B2CA6F
triadic
#CAB56F #6FCAB5 #B56FCA
tetradic
#CAB56F #6FCA88 #6F84CA #CA6FB2
square
#CAB56F #6FCA88 #6F84CA #CA6FB2
split-complementary
#CAB56F #6FB2CA #886FCA
monochromatic
#8B7733 #B89D44 #CAB56F #DACC9C #EBE3C8

Accessibility & contrast

On white

2.03
#CAB56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CAB56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB56F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB56F#FFFFFF#000000##000000
##CAB56F1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B26A
Deuteranopia (green-blind)
#C8B972
Tritanopia (blue-blind)
#D7ABA4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab56f;
/* rgb */ color: rgb(202, 181, 111);
/* oklch */ color: oklch(77.5% 0.093 93.3);
Tailwind
colors: {
  custom: {
    50: '#dccb99',
    500: '#cab56f',
    950: '#000000',
  },
}
SCSS
$custom: #cab56f;
$custom-light: #dccb99;
$custom-dark: #000000;
JSON
{
  "hex": "#cab56f",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 111
  },
  "hsl": {
    "h": 46.154,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.77549,
    "c": 0.09294,
    "h": 93.3
  },
  "luminance": 0.46752
}

Semantic roles & 50–950 ramp

primary
#CAB56F
secondary
#B9C1DB
accent
#4DB92C
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CAB56F

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

Preview Lab → · Contrast checker → · Palette generator →

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