#CAB950#CAB950

#CAB950 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.127 H 100.2°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CAB950
RGBrgb(202, 185, 80)
HSLhsl(52, 54%, 55%)
HSVhsv(52, 60%, 79%)
CMYKcmyk(0%, 8.4%, 60.4%, 20.8%)
CIE-LABlab(74.72, -6.74, 54.17)
CIE-LCHlch(74.72, 54.59, 97.09°)
OKLaboklab(77.98% -0.0223 0.1246)
OKLCHoklch(77.98% 0.127 100.2)
XYZxyz(43.1557, 47.8355, 14.5478)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB950 #5061CA
analogous
#CA7C50 #CAB950 #9ECA50
triadic
#CAB950 #50CAB9 #B950CA
tetradic
#CAB950 #50CA7C #5061CA #CA509E
square
#CAB950 #50CA7C #5061CA #CA509E
split-complementary
#CAB950 #509ECA #7C50CA
monochromatic
#7A6F25 #A99933 #CAB950 #D8CC7F #E6DFAE

Accessibility & contrast

On white

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

On black

10.57
#CAB950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB950
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB950#FFFFFF#000000##000000
##CAB9501.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#D8ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab950;
/* rgb */ color: rgb(202, 185, 80);
/* oklch */ color: oklch(78.0% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddcd85',
    500: '#cab950',
    950: '#000000',
  },
}
SCSS
$custom: #cab950;
$custom-light: #ddcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cab950",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 51.639,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77978,
    "c": 0.12656,
    "h": 100.2
  },
  "luminance": 0.47834
}

Semantic roles & 50–950 ramp

primary
#CAB950
secondary
#A1A9D4
accent
#5FDD4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB950

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

Preview Lab → · Contrast checker → · Palette generator →

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