#CAB956#CAB956

#CAB956 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.121 H 99.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CAB956
RGBrgb(202, 185, 86)
HSLhsl(51, 52%, 56%)
HSVhsv(51, 57%, 79%)
CMYKcmyk(0%, 8.4%, 57.4%, 20.8%)
CIE-LABlab(74.78, -6.31, 51.49)
CIE-LCHlch(74.78, 51.87, 96.98°)
OKLaboklab(78.04% -0.0204 0.1196)
OKLCHoklch(78.04% 0.121 99.7)
XYZxyz(43.3874, 47.9281, 15.7679)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB956 #5667CA
analogous
#CA7F56 #CAB956 #A1CA56
triadic
#CAB956 #56CAB9 #B956CA
tetradic
#CAB956 #56CA7F #5667CA #CA56A1
square
#CAB956 #56CA7F #5667CA #CA56A1
split-complementary
#CAB956 #56A1CA #7F56CA
monochromatic
#7E7128 #AD9B36 #CAB956 #D9CC85 #E7E0B3

Accessibility & contrast

On white

1.98
#CAB956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CAB956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB956
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB956#FFFFFF#000000##000000
##CAB9561.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B44C
Deuteranopia (green-blind)
#CDBB5B
Tritanopia (blue-blind)
#D8ADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab956;
/* rgb */ color: rgb(202, 185, 86);
/* oklch */ color: oklch(78.0% 0.121 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddcd89',
    500: '#cab956',
    950: '#000000',
  },
}
SCSS
$custom: #cab956;
$custom-light: #ddcd89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab956",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 86
  },
  "hsl": {
    "h": 51.207,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78043,
    "c": 0.12131,
    "h": 99.7
  },
  "luminance": 0.47926
}

Semantic roles & 50–950 ramp

primary
#CAB956
secondary
#A6ADD6
accent
#61DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB956

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

Preview Lab → · Contrast checker → · Palette generator →

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