#CAB450#CAB450

#CAB450 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.9% C 0.122 H 97.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CAB450
RGBrgb(202, 180, 80)
HSLhsl(49, 54%, 55%)
HSVhsv(49, 60%, 79%)
CMYKcmyk(0%, 10.9%, 60.4%, 20.8%)
CIE-LABlab(73.40, -4.13, 52.71)
CIE-LCHlch(73.40, 52.87, 94.48°)
OKLaboklab(76.93% -0.0149 0.1214)
OKLCHoklch(76.93% 0.122 97)
XYZxyz(42.1281, 45.7802, 14.2053)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB450 #5066CA
analogous
#CA7750 #CAB450 #A3CA50
triadic
#CAB450 #50CAB4 #B450CA
tetradic
#CAB450 #50CA77 #5066CA #CA50A3
square
#CAB450 #50CA77 #5066CA #CA50A3
split-complementary
#CAB450 #50A3CA #7750CA
monochromatic
#7A6B25 #A99433 #CAB450 #D8C87F #E6DCAE

Accessibility & contrast

On white

2.07
#CAB450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CAB450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB450
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB450#FFFFFF#000000##000000
##CAB4501.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#D9A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab450;
/* rgb */ color: rgb(202, 180, 80);
/* oklch */ color: oklch(76.9% 0.122 97.0);
Tailwind
colors: {
  custom: {
    50: '#ddca85',
    500: '#cab450',
    950: '#000000',
  },
}
SCSS
$custom: #cab450;
$custom-light: #ddca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cab450",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 49.18,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76933,
    "c": 0.12235,
    "h": 97
  },
  "luminance": 0.45778
}

Semantic roles & 50–950 ramp

primary
#CAB450
secondary
#A1ABD4
accent
#65DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB450

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

Preview Lab → · Contrast checker → · Palette generator →

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