#CAB850#CAB850

#CAB850 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.126 H 99.6°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#CAB850
RGBrgb(202, 184, 80)
HSLhsl(51, 54%, 55%)
HSVhsv(51, 60%, 79%)
CMYKcmyk(0%, 8.9%, 60.4%, 20.8%)
CIE-LABlab(74.46, -6.22, 53.88)
CIE-LCHlch(74.46, 54.24, 96.58°)
OKLaboklab(77.77% -0.0209 0.1239)
OKLCHoklch(77.77% 0.126 99.6)
XYZxyz(42.9473, 47.4185, 14.4783)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB850 #5062CA
analogous
#CA7B50 #CAB850 #9FCA50
triadic
#CAB850 #50CAB8 #B850CA
tetradic
#CAB850 #50CA7B #5062CA #CA509F
square
#CAB850 #50CA7B #5062CA #CA509F
split-complementary
#CAB850 #509FCA #7B50CA
monochromatic
#7A6E25 #A99833 #CAB850 #D8CB7F #E6DEAE

Accessibility & contrast

On white

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

On black

10.48
#CAB850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB850
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB850#FFFFFF#000000##000000
##CAB8501.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#CDBA55
Tritanopia (blue-blind)
#D9ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab850;
/* rgb */ color: rgb(202, 184, 80);
/* oklch */ color: oklch(77.8% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#ddcd85',
    500: '#cab850',
    950: '#000000',
  },
}
SCSS
$custom: #cab850;
$custom-light: #ddcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cab850",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 80
  },
  "hsl": {
    "h": 51.148,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77768,
    "c": 0.12568,
    "h": 99.6
  },
  "luminance": 0.47417
}

Semantic roles & 50–950 ramp

primary
#CAB850
secondary
#A1A9D4
accent
#60DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB850

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

Preview Lab → · Contrast checker → · Palette generator →

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