#CAB55C#CAB55C

#CAB55C is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.112 H 96.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CAB55C
RGBrgb(202, 181, 92)
HSLhsl(49, 51%, 58%)
HSVhsv(49, 54%, 79%)
CMYKcmyk(0%, 10.4%, 54.5%, 20.8%)
CIE-LABlab(73.79, -3.75, 47.50)
CIE-LCHlch(73.79, 47.65, 94.51°)
OKLaboklab(77.28% -0.0123 0.1116)
OKLCHoklch(77.28% 0.112 96.3)
XYZxyz(42.8143, 46.3788, 16.8199)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB55C #5C71CA
analogous
#CA7E5C #CAB55C #A8CA5C
triadic
#CAB55C #5CCAB5 #B55CCA
tetradic
#CAB55C #5CCA7E #5C71CA #CA5CA8
square
#CAB55C #5CCA7E #5C71CA #CA5CA8
split-complementary
#CAB55C #5CA8CA #7E5CCA
monochromatic
#81712A #B09939 #CAB55C #D9CA8A #E8DFB8

Accessibility & contrast

On white

2.04
#CAB55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CAB55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB55C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB55C#FFFFFF#000000##000000
##CAB55C1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B154
Deuteranopia (green-blind)
#CAB860
Tritanopia (blue-blind)
#D8AAA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab55c;
/* rgb */ color: rgb(202, 181, 92);
/* oklch */ color: oklch(77.3% 0.112 96.3);
Tailwind
colors: {
  custom: {
    50: '#dcca8c',
    500: '#cab55c',
    950: '#000000',
  },
}
SCSS
$custom: #cab55c;
$custom-light: #dcca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cab55c",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 92
  },
  "hsl": {
    "h": 48.545,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77281,
    "c": 0.1123,
    "h": 96.3
  },
  "luminance": 0.46377
}

Semantic roles & 50–950 ramp

primary
#CAB55C
secondary
#ABB3D7
accent
#68DA4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB55C

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

Preview Lab → · Contrast checker → · Palette generator →

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