#CAB062#CAB062

#CAB062 is a light, moderate yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.103 H 91.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CAB062
RGBrgb(202, 176, 98)
HSLhsl(45, 50%, 59%)
HSVhsv(45, 51%, 79%)
CMYKcmyk(0%, 12.9%, 51.5%, 20.8%)
CIE-LABlab(72.56, -0.60, 43.07)
CIE-LCHlch(72.56, 43.08, 90.80°)
OKLaboklab(76.33% -0.0026 0.1025)
OKLCHoklch(76.33% 0.103 91.4)
XYZxyz(42.0886, 44.4910, 17.9236)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB062 #627CCA
analogous
#CA7C62 #CAB062 #B0CA62
triadic
#CAB062 #62CAB0 #B062CA
tetradic
#CAB062 #62CA7C #627CCA #CA62B0
square
#CAB062 #62CA7C #627CCA #CA62B0
split-complementary
#CAB062 #62B0CA #7C62CA
monochromatic
#856F2D #B3953C #CAB062 #D9C790 #E9DEBE

Accessibility & contrast

On white

2.12
#CAB062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CAB062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB062
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB062#FFFFFF#000000##000000
##CAB0621.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAE5B
Deuteranopia (green-blind)
#C6B565
Tritanopia (blue-blind)
#D8A59E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab062;
/* rgb */ color: rgb(202, 176, 98);
/* oklch */ color: oklch(76.3% 0.103 91.4);
Tailwind
colors: {
  custom: {
    50: '#dcc790',
    500: '#cab062',
    950: '#000000',
  },
}
SCSS
$custom: #cab062;
$custom-light: #dcc790;
$custom-dark: #000000;
JSON
{
  "hex": "#cab062",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 98
  },
  "hsl": {
    "h": 45,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.76328,
    "c": 0.10252,
    "h": 91.4
  },
  "luminance": 0.44489
}

Semantic roles & 50–950 ramp

primary
#CAB062
secondary
#AFBAD8
accent
#71D94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CAB062

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

Preview Lab → · Contrast checker → · Palette generator →

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