#CABB54#CABB54

#CABB54 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.4% C 0.125 H 101.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CABB54
RGBrgb(202, 187, 84)
HSLhsl(52, 53%, 56%)
HSVhsv(52, 58%, 79%)
CMYKcmyk(0%, 7.4%, 58.4%, 20.8%)
CIE-LABlab(75.29, -7.49, 52.99)
CIE-LCHlch(75.29, 53.52, 98.05°)
OKLaboklab(78.44% -0.024 0.1226)
OKLCHoklch(78.44% 0.125 101.1)
XYZxyz(43.7293, 48.7390, 15.4899)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB54 #5463CA
analogous
#CA8054 #CABB54 #9ECA54
triadic
#CABB54 #54CABB #BB54CA
tetradic
#CABB54 #54CA80 #5463CA #CA549E
square
#CABB54 #54CA80 #5463CA #CA549E
split-complementary
#CABB54 #549ECA #8054CA
monochromatic
#7D7227 #AC9D35 #CABB54 #D8CE83 #E7E0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABB54#FFFFFF#000000##000000
##CABB541.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)
#CBB649
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#D8AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb54;
/* rgb */ color: rgb(202, 187, 84);
/* oklch */ color: oklch(78.4% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#ddcf88',
    500: '#cabb54',
    950: '#000000',
  },
}
SCSS
$custom: #cabb54;
$custom-light: #ddcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb54",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 84
  },
  "hsl": {
    "h": 52.373,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7844,
    "c": 0.12488,
    "h": 101.1
  },
  "luminance": 0.48737
}

Semantic roles & 50–950 ramp

primary
#CABB54
secondary
#A5ABD5
accent
#5EDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABB54

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

Preview Lab → · Contrast checker → · Palette generator →

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