#CABD54#CABD54

#CABD54 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.127 H 102.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CABD54
RGBrgb(202, 189, 84)
HSLhsl(53, 53%, 56%)
HSVhsv(53, 58%, 79%)
CMYKcmyk(0%, 6.4%, 58.4%, 20.8%)
CIE-LABlab(75.82, -8.52, 53.58)
CIE-LCHlch(75.82, 54.26, 99.04°)
OKLaboklab(78.86% -0.027 0.1238)
OKLCHoklch(78.86% 0.127 102.3)
XYZxyz(44.1565, 49.5935, 15.6323)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD54 #5461CA
analogous
#CA8254 #CABD54 #9CCA54
triadic
#CABD54 #54CABD #BD54CA
tetradic
#CABD54 #54CA82 #5461CA #CA549C
square
#CABD54 #54CA82 #5461CA #CA549C
split-complementary
#CABD54 #549CCA #8254CA
monochromatic
#7D7327 #AC9F35 #CABD54 #D8CF83 #E7E1B1

Accessibility & contrast

On white

1.92
#CABD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CABD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD54
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD54#FFFFFF#000000##000000
##CABD541.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB849
Deuteranopia (green-blind)
#D1BD59
Tritanopia (blue-blind)
#D8B1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd54;
/* rgb */ color: rgb(202, 189, 84);
/* oklch */ color: oklch(78.9% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#ddd088',
    500: '#cabd54',
    950: '#000000',
  },
}
SCSS
$custom: #cabd54;
$custom-light: #ddd088;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd54",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 53.39,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78861,
    "c": 0.12674,
    "h": 102.3
  },
  "luminance": 0.49592
}

Semantic roles & 50–950 ramp

primary
#CABD54
secondary
#A5AAD5
accent
#5CDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #CABD54

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

Preview Lab → · Contrast checker → · Palette generator →

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