#CAB651#CAB651

#CAB651 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.123 H 98.2°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CAB651
RGBrgb(202, 182, 81)
HSLhsl(50, 53%, 55%)
HSVhsv(50, 60%, 79%)
CMYKcmyk(0%, 9.9%, 59.9%, 20.8%)
CIE-LABlab(73.94, -5.11, 52.85)
CIE-LCHlch(73.94, 53.09, 95.52°)
OKLaboklab(77.36% -0.0175 0.1219)
OKLCHoklch(77.36% 0.123 98.2)
XYZxyz(42.5720, 46.6084, 14.5369)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB651 #5165CA
analogous
#CA7A51 #CAB651 #A1CA51
triadic
#CAB651 #51CAB6 #B651CA
tetradic
#CAB651 #51CA7A #5165CA #CA51A1
square
#CAB651 #51CA7A #5165CA #CA51A1
split-complementary
#CAB651 #51A1CA #7A51CA
monochromatic
#7B6D25 #AA9634 #CAB651 #D8CA80 #E7DDAF

Accessibility & contrast

On white

2.03
#CAB651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CAB651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB651
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB651#FFFFFF#000000##000000
##CAB6511.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B246
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#D9AAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab651;
/* rgb */ color: rgb(202, 182, 81);
/* oklch */ color: oklch(77.4% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#ddcb85',
    500: '#cab651',
    950: '#000000',
  },
}
SCSS
$custom: #cab651;
$custom-light: #ddcb85;
$custom-dark: #000000;
JSON
{
  "hex": "#cab651",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 50.083,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77361,
    "c": 0.12313,
    "h": 98.2
  },
  "luminance": 0.46607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB651

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

Preview Lab → · Contrast checker → · Palette generator →

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