#CAB862#CAB862

#CAB862 is a light, moderate yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.109 H 97.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CAB862
RGBrgb(202, 184, 98)
HSLhsl(50, 50%, 59%)
HSVhsv(50, 51%, 79%)
CMYKcmyk(0%, 8.9%, 51.5%, 20.8%)
CIE-LABlab(74.65, -4.81, 45.59)
CIE-LCHlch(74.65, 45.85, 96.02°)
OKLaboklab(77.98% -0.0147 0.108)
OKLCHoklch(77.98% 0.109 97.8)
XYZxyz(43.7036, 47.7211, 18.4619)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB862 #6274CA
analogous
#CA8462 #CAB862 #A8CA62
triadic
#CAB862 #62CAB8 #B862CA
tetradic
#CAB862 #62CA84 #6274CA #CA62A8
square
#CAB862 #62CA84 #6274CA #CA62A8
split-complementary
#CAB862 #62A8CA #8462CA
monochromatic
#85762D #B39E3C #CAB862 #D9CD90 #E9E1BE

Accessibility & contrast

On white

1.99
#CAB862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CAB862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB862
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB862#FFFFFF#000000##000000
##CAB8621.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CCBA66
Tritanopia (blue-blind)
#D7ADA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab862;
/* rgb */ color: rgb(202, 184, 98);
/* oklch */ color: oklch(78.0% 0.109 97.8);
Tailwind
colors: {
  custom: {
    50: '#dccd91',
    500: '#cab862',
    950: '#000000',
  },
}
SCSS
$custom: #cab862;
$custom-light: #dccd91;
$custom-dark: #000000;
JSON
{
  "hex": "#cab862",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 49.615,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77982,
    "c": 0.10904,
    "h": 97.8
  },
  "luminance": 0.47719
}

Semantic roles & 50–950 ramp

primary
#CAB862
secondary
#AFB7D8
accent
#67D94F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB862

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

Preview Lab → · Contrast checker → · Palette generator →

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