#CAB156#CAB156

#CAB156 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.115 H 94.2°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CAB156
RGBrgb(202, 177, 86)
HSLhsl(47, 52%, 56%)
HSVhsv(47, 57%, 79%)
CMYKcmyk(0%, 12.4%, 57.4%, 20.8%)
CIE-LABlab(72.68, -2.12, 49.08)
CIE-LCHlch(72.68, 49.13, 92.47°)
OKLaboklab(76.38% -0.0083 0.1144)
OKLCHoklch(76.38% 0.115 94.2)
XYZxyz(41.7607, 44.6747, 15.2257)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB156 #566FCA
analogous
#CA7756 #CAB156 #A9CA56
triadic
#CAB156 #56CAB1 #B156CA
tetradic
#CAB156 #56CA77 #566FCA #CA56A9
square
#CAB156 #56CA77 #566FCA #CA56A9
split-complementary
#CAB156 #56A9CA #7756CA
monochromatic
#7E6B28 #AD9336 #CAB156 #D9C785 #E7DCB3

Accessibility & contrast

On white

2.11
#CAB156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CAB156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB156
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB156#FFFFFF#000000##000000
##CAB1561.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4D
Deuteranopia (green-blind)
#C7B65A
Tritanopia (blue-blind)
#D9A59D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab156;
/* rgb */ color: rgb(202, 177, 86);
/* oklch */ color: oklch(76.4% 0.115 94.2);
Tailwind
colors: {
  custom: {
    50: '#ddc888',
    500: '#cab156',
    950: '#000000',
  },
}
SCSS
$custom: #cab156;
$custom-light: #ddc888;
$custom-dark: #000000;
JSON
{
  "hex": "#cab156",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 47.069,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76379,
    "c": 0.1147,
    "h": 94.2
  },
  "luminance": 0.44673
}

Semantic roles & 50–950 ramp

primary
#CAB156
secondary
#A6B0D6
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB156

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

Preview Lab → · Contrast checker → · Palette generator →

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