#CABE4B#CABE4B

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

Color values

HEX#CABE4B
RGBrgb(202, 190, 75)
HSLhsl(54, 55%, 54%)
HSVhsv(54, 63%, 79%)
CMYKcmyk(0%, 5.9%, 62.9%, 20.8%)
CIE-LABlab(76.00, -9.65, 57.76)
CIE-LCHlch(76.00, 58.57, 99.49°)
OKLaboklab(78.98% -0.0312 0.1315)
OKLCHoklch(78.98% 0.135 103.4)
XYZxyz(44.0422, 49.8931, 13.9657)
Luminance0.4989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE4B #4B57CA
analogous
#CA7F4B #CABE4B #96CA4B
triadic
#CABE4B #4BCABE #BE4BCA
tetradic
#CABE4B #4BCA7F #4B57CA #CA4B96
square
#CABE4B #4BCA7F #4B57CA #CA4B96
split-complementary
#CABE4B #4B96CA #7F4BCA
monochromatic
#776F23 #A79C31 #CABE4B #D8CF7A #E6E0AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABE4B#FFFFFF#000000##000000
##CABE4B1.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)
#CEB83D
Deuteranopia (green-blind)
#D2BE51
Tritanopia (blue-blind)
#D8B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe4b;
/* rgb */ color: rgb(202, 190, 75);
/* oklch */ color: oklch(79.0% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#ddd182',
    500: '#cabe4b',
    950: '#000000',
  },
}
SCSS
$custom: #cabe4b;
$custom-light: #ddd182;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe4b",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 75
  },
  "hsl": {
    "h": 54.331,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78982,
    "c": 0.13517,
    "h": 103.4
  },
  "luminance": 0.49891
}

Semantic roles & 50–950 ramp

primary
#CABE4B
secondary
#9DA3D3
accent
#58DE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #CABE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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