#CABB56#CABB56

#CABB56 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.123 H 100.9°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CABB56
RGBrgb(202, 187, 86)
HSLhsl(52, 52%, 56%)
HSVhsv(52, 57%, 79%)
CMYKcmyk(0%, 7.4%, 57.4%, 20.8%)
CIE-LABlab(75.31, -7.34, 52.09)
CIE-LCHlch(75.31, 52.61, 98.02°)
OKLaboklab(78.46% -0.0234 0.1209)
OKLCHoklch(78.46% 0.123 100.9)
XYZxyz(43.8087, 48.7708, 15.9084)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB56 #5665CA
analogous
#CA8156 #CABB56 #9FCA56
triadic
#CABB56 #56CABB #BB56CA
tetradic
#CABB56 #56CA81 #5665CA #CA569F
square
#CABB56 #56CA81 #5665CA #CA569F
split-complementary
#CABB56 #569FCA #8156CA
monochromatic
#7E7328 #AD9D36 #CABB56 #D9CE85 #E7E0B3

Accessibility & contrast

On white

1.95
#CABB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CABB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB56
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB56#FFFFFF#000000##000000
##CABB561.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#CFBC5B
Tritanopia (blue-blind)
#D8AFA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb56;
/* rgb */ color: rgb(202, 187, 86);
/* oklch */ color: oklch(78.5% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#ddcf89',
    500: '#cabb56',
    950: '#000000',
  },
}
SCSS
$custom: #cabb56;
$custom-light: #ddcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb56",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 52.241,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78462,
    "c": 0.12311,
    "h": 100.9
  },
  "luminance": 0.48769
}

Semantic roles & 50–950 ramp

primary
#CABB56
secondary
#A6ACD6
accent
#5FDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABB56

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

Preview Lab → · Contrast checker → · Palette generator →

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