#CAB648#CAB648

#CAB648 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.3% C 0.131 H 99.0°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CAB648
RGBrgb(202, 182, 72)
HSLhsl(51, 55%, 54%)
HSVhsv(51, 64%, 79%)
CMYKcmyk(0%, 9.9%, 64.4%, 20.8%)
CIE-LABlab(73.86, -5.70, 56.76)
CIE-LCHlch(73.86, 57.04, 95.74°)
OKLaboklab(77.27% -0.0203 0.1289)
OKLCHoklch(77.27% 0.131 99)
XYZxyz(42.2566, 46.4822, 12.8758)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB648 #485CCA
analogous
#CA7548 #CAB648 #9DCA48
triadic
#CAB648 #48CAB6 #B648CA
tetradic
#CAB648 #48CA75 #485CCA #CA489D
square
#CAB648 #48CA75 #485CCA #CA489D
split-complementary
#CAB648 #489DCA #7548CA
monochromatic
#766922 #A59330 #CAB648 #D8C977 #E5DCA7

Accessibility & contrast

On white

2.04
#CAB648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CAB648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB648
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB648#FFFFFF#000000##000000
##CAB6481.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13B
Deuteranopia (green-blind)
#CCB94E
Tritanopia (blue-blind)
#D9A99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab648;
/* rgb */ color: rgb(202, 182, 72);
/* oklch */ color: oklch(77.3% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddcb80',
    500: '#cab648',
    950: '#000000',
  },
}
SCSS
$custom: #cab648;
$custom-light: #ddcb80;
$custom-dark: #000000;
JSON
{
  "hex": "#cab648",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 50.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7727,
    "c": 0.13052,
    "h": 99
  },
  "luminance": 0.4648
}

Semantic roles & 50–950 ramp

primary
#CAB648
secondary
#9BA4D3
accent
#60DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB648

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

Preview Lab → · Contrast checker → · Palette generator →

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