#CAB356#CAB356

#CAB356 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.116 H 95.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CAB356
RGBrgb(202, 179, 86)
HSLhsl(48, 52%, 56%)
HSVhsv(48, 57%, 79%)
CMYKcmyk(0%, 11.4%, 57.4%, 20.8%)
CIE-LABlab(73.20, -3.17, 49.68)
CIE-LCHlch(73.20, 49.79, 93.65°)
OKLaboklab(76.79% -0.0114 0.1157)
OKLCHoklch(76.79% 0.116 95.6)
XYZxyz(42.1586, 45.4706, 15.3583)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB356 #566DCA
analogous
#CA7956 #CAB356 #A7CA56
triadic
#CAB356 #56CAB3 #B356CA
tetradic
#CAB356 #56CA79 #566DCA #CA56A7
square
#CAB356 #56CA79 #566DCA #CA56A7
split-complementary
#CAB356 #56A7CA #7956CA
monochromatic
#7E6D28 #AD9536 #CAB356 #D9C885 #E7DDB3

Accessibility & contrast

On white

2.08
#CAB356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#CAB356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB356
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB356#FFFFFF#000000##000000
##CAB3561.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4D
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#D9A79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab356;
/* rgb */ color: rgb(202, 179, 86);
/* oklch */ color: oklch(76.8% 0.116 95.6);
Tailwind
colors: {
  custom: {
    50: '#ddc988',
    500: '#cab356',
    950: '#000000',
  },
}
SCSS
$custom: #cab356;
$custom-light: #ddc988;
$custom-dark: #000000;
JSON
{
  "hex": "#cab356",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 86
  },
  "hsl": {
    "h": 48.103,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76793,
    "c": 0.11626,
    "h": 95.6
  },
  "luminance": 0.45469
}

Semantic roles & 50–950 ramp

primary
#CAB356
secondary
#A6B0D6
accent
#69DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB356

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

Preview Lab → · Contrast checker → · Palette generator →

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