#CABE48#CABE48

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

Color values

HEX#CABE48
RGBrgb(202, 190, 72)
HSLhsl(54, 55%, 54%)
HSVhsv(54, 64%, 79%)
CMYKcmyk(0%, 5.9%, 64.4%, 20.8%)
CIE-LABlab(75.98, -9.84, 59.01)
CIE-LCHlch(75.98, 59.82, 99.47°)
OKLaboklab(78.95% -0.0321 0.1337)
OKLCHoklch(78.95% 0.138 103.5)
XYZxyz(43.9420, 49.8530, 13.4376)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE48 #4854CA
analogous
#CA7D48 #CABE48 #95CA48
triadic
#CABE48 #48CABE #BE48CA
tetradic
#CABE48 #48CA7D #4854CA #CA4895
square
#CABE48 #48CA7D #4854CA #CA4895
split-complementary
#CABE48 #4895CA #7D48CA
monochromatic
#766E22 #A59A30 #CABE48 #D8CF77 #E5E0A7

Accessibility & contrast

On white

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

On black

10.97
#CABE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE48
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE48#FFFFFF#000000##000000
##CABE481.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe48;
/* rgb */ color: rgb(202, 190, 72);
/* oklch */ color: oklch(79.0% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#ddd181',
    500: '#cabe48',
    950: '#000000',
  },
}
SCSS
$custom: #cabe48;
$custom-light: #ddd181;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe48",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 72
  },
  "hsl": {
    "h": 54.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78954,
    "c": 0.1375,
    "h": 103.5
  },
  "luminance": 0.49851
}

Semantic roles & 50–950 ramp

primary
#CABE48
secondary
#9BA0D3
accent
#57DE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15140B
muted
#84827C

Preview Lab

Preview with #CABE48

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

Preview Lab → · Contrast checker → · Palette generator →

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