#CAB362#CAB362

#CAB362 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.105 H 93.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CAB362
RGBrgb(202, 179, 98)
HSLhsl(47, 50%, 59%)
HSVhsv(47, 51%, 79%)
CMYKcmyk(0%, 11.4%, 51.5%, 20.8%)
CIE-LABlab(73.34, -2.18, 44.02)
CIE-LCHlch(73.34, 44.07, 92.84°)
OKLaboklab(76.94% -0.0071 0.1046)
OKLCHoklch(76.94% 0.105 93.9)
XYZxyz(42.6833, 45.6804, 18.1218)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB362 #6279CA
analogous
#CA7F62 #CAB362 #ADCA62
triadic
#CAB362 #62CAB3 #B362CA
tetradic
#CAB362 #62CA7F #6279CA #CA62AD
square
#CAB362 #62CA7F #6279CA #CA62AD
split-complementary
#CAB362 #62ADCA #7F62CA
monochromatic
#85712D #B3983C #CAB362 #D9C990 #E9DFBE

Accessibility & contrast

On white

2.07
#CAB362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#CAB362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB362
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB362#FFFFFF#000000##000000
##CAB3621.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#D8A8A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab362;
/* rgb */ color: rgb(202, 179, 98);
/* oklch */ color: oklch(76.9% 0.105 93.9);
Tailwind
colors: {
  custom: {
    50: '#dcc990',
    500: '#cab362',
    950: '#000000',
  },
}
SCSS
$custom: #cab362;
$custom-light: #dcc990;
$custom-dark: #000000;
JSON
{
  "hex": "#cab362",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 98
  },
  "hsl": {
    "h": 46.731,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.76945,
    "c": 0.10481,
    "h": 93.9
  },
  "luminance": 0.45679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB362

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

Preview Lab → · Contrast checker → · Palette generator →

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