#CAB85C#CAB85C

#CAB85C is a light, moderate yellow. Relative luminance 0.476; OKLCH L 77.9% C 0.115 H 98.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CAB85C
RGBrgb(202, 184, 92)
HSLhsl(50, 51%, 58%)
HSVhsv(50, 54%, 79%)
CMYKcmyk(0%, 8.9%, 54.5%, 20.8%)
CIE-LABlab(74.58, -5.31, 48.42)
CIE-LCHlch(74.58, 48.71, 96.26°)
OKLaboklab(77.91% -0.0169 0.1136)
OKLCHoklch(77.91% 0.115 98.4)
XYZxyz(43.4309, 47.6120, 17.0255)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB85C #5C6ECA
analogous
#CA815C #CAB85C #A5CA5C
triadic
#CAB85C #5CCAB8 #B85CCA
tetradic
#CAB85C #5CCA81 #5C6ECA #CA5CA5
square
#CAB85C #5CCA81 #5C6ECA #CA5CA5
split-complementary
#CAB85C #5CA5CA #815CCA
monochromatic
#81732A #B09C39 #CAB85C #D9CC8A #E8E0B8

Accessibility & contrast

On white

2.00
#CAB85C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CAB85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB85C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB85C#FFFFFF#000000##000000
##CAB85C1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B453
Deuteranopia (green-blind)
#CCBA60
Tritanopia (blue-blind)
#D8ADA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab85c;
/* rgb */ color: rgb(202, 184, 92);
/* oklch */ color: oklch(77.9% 0.115 98.4);
Tailwind
colors: {
  custom: {
    50: '#dccd8d',
    500: '#cab85c',
    950: '#000000',
  },
}
SCSS
$custom: #cab85c;
$custom-light: #dccd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab85c",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 92
  },
  "hsl": {
    "h": 50.182,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77905,
    "c": 0.11488,
    "h": 98.4
  },
  "luminance": 0.4761
}

Semantic roles & 50–950 ramp

primary
#CAB85C
secondary
#ABB2D7
accent
#64DA4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB85C

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

Preview Lab → · Contrast checker → · Palette generator →

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