#CABC54#CABC54

#CABC54 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.7% C 0.126 H 101.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CABC54
RGBrgb(202, 188, 84)
HSLhsl(53, 53%, 56%)
HSVhsv(53, 58%, 79%)
CMYKcmyk(0%, 6.9%, 58.4%, 20.8%)
CIE-LABlab(75.55, -8.01, 53.29)
CIE-LCHlch(75.55, 53.88, 98.55°)
OKLaboklab(78.65% -0.0255 0.1232)
OKLCHoklch(78.65% 0.126 101.7)
XYZxyz(43.9421, 49.1648, 15.5609)
Luminance0.4916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABC54 #5462CA
analogous
#CA8154 #CABC54 #9DCA54
triadic
#CABC54 #54CABC #BC54CA
tetradic
#CABC54 #54CA81 #5462CA #CA549D
square
#CABC54 #54CA81 #5462CA #CA549D
split-complementary
#CABC54 #549DCA #8154CA
monochromatic
#7D7327 #AC9E35 #CABC54 #D8CE83 #E7E1B1

Accessibility & contrast

On white

1.94
#CABC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CABC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABC54
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABC54#FFFFFF#000000##000000
##CABC541.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#D8B0A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabc54;
/* rgb */ color: rgb(202, 188, 84);
/* oklch */ color: oklch(78.7% 0.126 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddcf88',
    500: '#cabc54',
    950: '#000000',
  },
}
SCSS
$custom: #cabc54;
$custom-light: #ddcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cabc54",
  "rgb": {
    "r": 202,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 52.881,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78651,
    "c": 0.12581,
    "h": 101.7
  },
  "luminance": 0.49163
}

Semantic roles & 50–950 ramp

primary
#CABC54
secondary
#A5AAD5
accent
#5DDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CABC54

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

Preview Lab → · Contrast checker → · Palette generator →

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