#CAB35E#CAB35E

#CAB35E is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.109 H 94.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CAB35E
RGBrgb(202, 179, 94)
HSLhsl(47, 50%, 58%)
HSVhsv(47, 53%, 79%)
CMYKcmyk(0%, 11.4%, 53.5%, 20.8%)
CIE-LABlab(73.29, -2.53, 45.93)
CIE-LCHlch(73.29, 46.00, 93.15°)
OKLaboklab(76.89% -0.0086 0.1084)
OKLCHoklch(76.89% 0.109 94.5)
XYZxyz(42.4992, 45.6068, 17.1519)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB35E #5E75CA
analogous
#CA7D5E #CAB35E #ABCA5E
triadic
#CAB35E #5ECAB3 #B35ECA
tetradic
#CAB35E #5ECA7D #5E75CA #CA5EAB
square
#CAB35E #5ECA7D #5E75CA #CA5EAB
split-complementary
#CAB35E #5EABCA #7D5ECA
monochromatic
#83702B #B1973A #CAB35E #D9C98C #E8DEBA

Accessibility & contrast

On white

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

On black

10.12
#CAB35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB35E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB35E#FFFFFF#000000##000000
##CAB35E1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B056
Deuteranopia (green-blind)
#C8B761
Tritanopia (blue-blind)
#D8A89F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab35e;
/* rgb */ color: rgb(202, 179, 94);
/* oklch */ color: oklch(76.9% 0.109 94.5);
Tailwind
colors: {
  custom: {
    50: '#dcc98e',
    500: '#cab35e',
    950: '#000000',
  },
}
SCSS
$custom: #cab35e;
$custom-light: #dcc98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab35e",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 94
  },
  "hsl": {
    "h": 47.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.76892,
    "c": 0.10875,
    "h": 94.5
  },
  "luminance": 0.45605
}

Semantic roles & 50–950 ramp

primary
#CAB35E
secondary
#ACB6D7
accent
#6CDA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB35E

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

Preview Lab → · Contrast checker → · Palette generator →

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