#CAB451#CAB451

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

Color values

HEX#CAB451
RGBrgb(202, 180, 81)
HSLhsl(49, 53%, 55%)
HSVhsv(49, 60%, 79%)
CMYKcmyk(0%, 10.9%, 59.9%, 20.8%)
CIE-LABlab(73.41, -4.06, 52.26)
CIE-LCHlch(73.41, 52.42, 94.44°)
OKLaboklab(76.94% -0.0145 0.1206)
OKLCHoklch(76.94% 0.121 96.9)
XYZxyz(42.1653, 45.7951, 14.4013)
Luminance0.4579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB451 #5167CA
analogous
#CA7751 #CAB451 #A3CA51
triadic
#CAB451 #51CAB4 #B451CA
tetradic
#CAB451 #51CA77 #5167CA #CA51A3
square
#CAB451 #51CA77 #5167CA #CA51A3
split-complementary
#CAB451 #51A3CA #7751CA
monochromatic
#7B6C25 #AA9534 #CAB451 #D8C880 #E7DCAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB451#FFFFFF#000000##000000
##CAB4511.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)
#C4B047
Deuteranopia (green-blind)
#CAB756
Tritanopia (blue-blind)
#D9A89E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab451;
/* rgb */ color: rgb(202, 180, 81);
/* oklch */ color: oklch(76.9% 0.121 96.9);
Tailwind
colors: {
  custom: {
    50: '#ddca85',
    500: '#cab451',
    950: '#000000',
  },
}
SCSS
$custom: #cab451;
$custom-light: #ddca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cab451",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 49.091,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76944,
    "c": 0.12149,
    "h": 96.9
  },
  "luminance": 0.45793
}

Semantic roles & 50–950 ramp

primary
#CAB451
secondary
#A2ABD5
accent
#66DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB451

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

Preview Lab → · Contrast checker → · Palette generator →

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