#CAB562#CAB562

#CAB562 is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.106 H 95.5°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CAB562
RGBrgb(202, 181, 98)
HSLhsl(48, 50%, 59%)
HSVhsv(48, 51%, 79%)
CMYKcmyk(0%, 10.4%, 51.5%, 20.8%)
CIE-LABlab(73.86, -3.24, 44.65)
CIE-LCHlch(73.86, 44.77, 94.15°)
OKLaboklab(77.36% -0.0102 0.106)
OKLCHoklch(77.36% 0.106 95.5)
XYZxyz(43.0871, 46.4879, 18.2564)
Luminance0.4649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB562 #6277CA
analogous
#CA8162 #CAB562 #ABCA62
triadic
#CAB562 #62CAB5 #B562CA
tetradic
#CAB562 #62CA81 #6277CA #CA62AB
square
#CAB562 #62CA81 #6277CA #CA62AB
split-complementary
#CAB562 #62ABCA #8162CA
monochromatic
#85732D #B39B3C #CAB562 #D9CB90 #E9E0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB562#FFFFFF#000000##000000
##CAB5621.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)
#C4B25B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#D8AAA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab562;
/* rgb */ color: rgb(202, 181, 98);
/* oklch */ color: oklch(77.4% 0.106 95.5);
Tailwind
colors: {
  custom: {
    50: '#dccb90',
    500: '#cab562',
    950: '#000000',
  },
}
SCSS
$custom: #cab562;
$custom-light: #dccb90;
$custom-dark: #000000;
JSON
{
  "hex": "#cab562",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 98
  },
  "hsl": {
    "h": 47.885,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77359,
    "c": 0.10645,
    "h": 95.5
  },
  "luminance": 0.46486
}

Semantic roles & 50–950 ramp

primary
#CAB562
secondary
#AFB8D8
accent
#6BD94F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB562

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

Preview Lab → · Contrast checker → · Palette generator →

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