#CAB856#CAB856

#CAB856 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.8% C 0.120 H 99.0°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CAB856
RGBrgb(202, 184, 86)
HSLhsl(51, 52%, 56%)
HSVhsv(51, 57%, 79%)
CMYKcmyk(0%, 8.9%, 57.4%, 20.8%)
CIE-LABlab(74.52, -5.78, 51.19)
CIE-LCHlch(74.52, 51.51, 96.45°)
OKLaboklab(77.83% -0.0189 0.1189)
OKLCHoklch(77.83% 0.12 99)
XYZxyz(43.1789, 47.5112, 15.6984)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB856 #5668CA
analogous
#CA7E56 #CAB856 #A2CA56
triadic
#CAB856 #56CAB8 #B856CA
tetradic
#CAB856 #56CA7E #5668CA #CA56A2
square
#CAB856 #56CA7E #5668CA #CA56A2
split-complementary
#CAB856 #56A2CA #7E56CA
monochromatic
#7E7128 #AD9A36 #CAB856 #D9CC85 #E7DFB3

Accessibility & contrast

On white

2.00
#CAB856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CAB856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB856
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB856#FFFFFF#000000##000000
##CAB8561.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44C
Deuteranopia (green-blind)
#CDBA5B
Tritanopia (blue-blind)
#D8ACA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab856;
/* rgb */ color: rgb(202, 184, 86);
/* oklch */ color: oklch(77.8% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddcd89',
    500: '#cab856',
    950: '#000000',
  },
}
SCSS
$custom: #cab856;
$custom-light: #ddcd89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab856",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 86
  },
  "hsl": {
    "h": 50.69,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77834,
    "c": 0.12043,
    "h": 99
  },
  "luminance": 0.47509
}

Semantic roles & 50–950 ramp

primary
#CAB856
secondary
#A6ADD6
accent
#62DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB856

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

Preview Lab → · Contrast checker → · Palette generator →

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