#CAB85E#CAB85E

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

Color values

HEX#CAB85E
RGBrgb(202, 184, 94)
HSLhsl(50, 50%, 58%)
HSVhsv(50, 53%, 79%)
CMYKcmyk(0%, 8.9%, 53.5%, 20.8%)
CIE-LABlab(74.60, -5.15, 47.49)
CIE-LCHlch(74.60, 47.77, 96.19°)
OKLaboklab(77.93% -0.0162 0.1118)
OKLCHoklch(77.93% 0.113 98.2)
XYZxyz(43.5195, 47.6474, 17.4920)
Luminance0.4765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB85E #5E70CA
analogous
#CA825E #CAB85E #A6CA5E
triadic
#CAB85E #5ECAB8 #B85ECA
tetradic
#CAB85E #5ECA82 #5E70CA #CA5EA6
square
#CAB85E #5ECA82 #5E70CA #CA5EA6
split-complementary
#CAB85E #5EA6CA #825ECA
monochromatic
#83742B #B19D3A #CAB85E #D9CC8C #E8E1BA

Accessibility & contrast

On white

1.99
#CAB85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CAB85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB85E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB85E#FFFFFF#000000##000000
##CAB85E1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B456
Deuteranopia (green-blind)
#CCBA62
Tritanopia (blue-blind)
#D8ADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab85e;
/* rgb */ color: rgb(202, 184, 94);
/* oklch */ color: oklch(77.9% 0.113 98.2);
Tailwind
colors: {
  custom: {
    50: '#dccd8e',
    500: '#cab85e',
    950: '#000000',
  },
}
SCSS
$custom: #cab85e;
$custom-light: #dccd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab85e",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 50,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.7793,
    "c": 0.11296,
    "h": 98.2
  },
  "luminance": 0.47646
}

Semantic roles & 50–950 ramp

primary
#CAB85E
secondary
#ACB4D7
accent
#65DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB85E

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

Preview Lab → · Contrast checker → · Palette generator →

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