#CAB055#CAB055

#CAB055 is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.115 H 93.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CAB055
RGBrgb(202, 176, 85)
HSLhsl(47, 52%, 56%)
HSVhsv(47, 58%, 79%)
CMYKcmyk(0%, 12.9%, 57.9%, 20.8%)
CIE-LABlab(72.41, -1.66, 49.25)
CIE-LCHlch(72.41, 49.27, 91.94°)
OKLaboklab(76.16% -0.0071 0.1146)
OKLCHoklch(76.16% 0.115 93.6)
XYZxyz(41.5239, 44.2651, 14.9494)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB055 #556FCA
analogous
#CA7655 #CAB055 #AACA55
triadic
#CAB055 #55CAB0 #B055CA
tetradic
#CAB055 #55CA76 #556FCA #CA55AA
square
#CAB055 #55CA76 #556FCA #CA55AA
split-complementary
#CAB055 #55AACA #7655CA
monochromatic
#7D6A27 #AC9236 #CAB055 #D9C684 #E7DBB2

Accessibility & contrast

On white

2.13
#CAB055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CAB055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB055
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB055#FFFFFF#000000##000000
##CAB0551.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4C
Deuteranopia (green-blind)
#C7B559
Tritanopia (blue-blind)
#D9A49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab055;
/* rgb */ color: rgb(202, 176, 85);
/* oklch */ color: oklch(76.2% 0.115 93.6);
Tailwind
colors: {
  custom: {
    50: '#ddc788',
    500: '#cab055',
    950: '#000000',
  },
}
SCSS
$custom: #cab055;
$custom-light: #ddc788;
$custom-dark: #000000;
JSON
{
  "hex": "#cab055",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 85
  },
  "hsl": {
    "h": 46.667,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.11486,
    "h": 93.6
  },
  "luminance": 0.44263
}

Semantic roles & 50–950 ramp

primary
#CAB055
secondary
#A5B0D5
accent
#6CDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB055

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

Preview Lab → · Contrast checker → · Palette generator →

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