#CABE4D#CABE4D

#CABE4D is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.0% C 0.134 H 103.3°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CABE4D
RGBrgb(202, 190, 77)
HSLhsl(54, 54%, 55%)
HSVhsv(54, 62%, 79%)
CMYKcmyk(0%, 5.9%, 61.9%, 20.8%)
CIE-LABlab(76.02, -9.52, 56.92)
CIE-LCHlch(76.02, 57.71, 99.50°)
OKLaboklab(79% -0.0306 0.13)
OKLCHoklch(79% 0.134 103.3)
XYZxyz(44.1118, 49.9209, 14.3318)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE4D #4D59CA
analogous
#CA804D #CABE4D #98CA4D
triadic
#CABE4D #4DCABE #BE4DCA
tetradic
#CABE4D #4DCA80 #4D59CA #CA4D98
square
#CABE4D #4DCA80 #4D59CA #CA4D98
split-complementary
#CABE4D #4D98CA #804DCA
monochromatic
#797124 #A89D32 #CABE4D #D8CF7C #E6E0AB

Accessibility & contrast

On white

1.91
#CABE4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CABE4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE4D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE4D#FFFFFF#000000##000000
##CABE4D1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB840
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#D8B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe4d;
/* rgb */ color: rgb(202, 190, 77);
/* oklch */ color: oklch(79.0% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd184',
    500: '#cabe4d',
    950: '#000000',
  },
}
SCSS
$custom: #cabe4d;
$custom-light: #ddd184;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe4d",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 77
  },
  "hsl": {
    "h": 54.24,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79001,
    "c": 0.13356,
    "h": 103.3
  },
  "luminance": 0.49919
}

Semantic roles & 50–950 ramp

primary
#CABE4D
secondary
#9FA4D4
accent
#58DD4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #CABE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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