#CAB462#CAB462

#CAB462 is a light, moderate yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.106 H 94.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CAB462
RGBrgb(202, 180, 98)
HSLhsl(47, 50%, 59%)
HSVhsv(47, 51%, 79%)
CMYKcmyk(0%, 10.9%, 51.5%, 20.8%)
CIE-LABlab(73.60, -2.71, 44.33)
CIE-LCHlch(73.60, 44.42, 93.50°)
OKLaboklab(77.15% -0.0087 0.1053)
OKLCHoklch(77.15% 0.106 94.7)
XYZxyz(42.8845, 46.0827, 18.1888)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB462 #6278CA
analogous
#CA8062 #CAB462 #ACCA62
triadic
#CAB462 #62CAB4 #B462CA
tetradic
#CAB462 #62CA80 #6278CA #CA62AC
square
#CAB462 #62CA80 #6278CA #CA62AC
split-complementary
#CAB462 #62ACCA #8062CA
monochromatic
#85722D #B39A3C #CAB462 #D9CA90 #E9E0BE

Accessibility & contrast

On white

2.06
#CAB462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CAB462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB462
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB462#FFFFFF#000000##000000
##CAB4621.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#D8A9A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab462;
/* rgb */ color: rgb(202, 180, 98);
/* oklch */ color: oklch(77.2% 0.106 94.7);
Tailwind
colors: {
  custom: {
    50: '#dcca90',
    500: '#cab462',
    950: '#000000',
  },
}
SCSS
$custom: #cab462;
$custom-light: #dcca90;
$custom-dark: #000000;
JSON
{
  "hex": "#cab462",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 47.308,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77152,
    "c": 0.10563,
    "h": 94.7
  },
  "luminance": 0.46081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB462

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

Preview Lab → · Contrast checker → · Palette generator →

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