#CABF50#CABF50

#CABF50 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.132 H 103.7°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CABF50
RGBrgb(202, 191, 80)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 60%, 79%)
CMYKcmyk(0%, 5.4%, 60.4%, 20.8%)
CIE-LABlab(76.31, -9.84, 55.92)
CIE-LCHlch(76.31, 56.78, 99.97°)
OKLaboklab(79.24% -0.0312 0.1283)
OKLCHoklch(79.24% 0.132 103.7)
XYZxyz(44.4375, 50.3990, 14.9751)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF50 #505BCA
analogous
#CA8250 #CABF50 #98CA50
triadic
#CABF50 #50CABF #BF50CA
tetradic
#CABF50 #50CA82 #505BCA #CA5098
square
#CABF50 #50CA82 #505BCA #CA5098
split-complementary
#CABF50 #5098CA #8250CA
monochromatic
#7A7325 #A99F33 #CABF50 #D8D07F #E6E1AE

Accessibility & contrast

On white

1.90
#CABF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#CABF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF50
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF50#FFFFFF#000000##000000
##CABF501.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB944
Deuteranopia (green-blind)
#D2BF56
Tritanopia (blue-blind)
#D8B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf50;
/* rgb */ color: rgb(202, 191, 80);
/* oklch */ color: oklch(79.2% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#ddd285',
    500: '#cabf50',
    950: '#000000',
  },
}
SCSS
$custom: #cabf50;
$custom-light: #ddd285;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf50",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 54.59,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79242,
    "c": 0.13204,
    "h": 103.7
  },
  "luminance": 0.50397
}

Semantic roles & 50–950 ramp

primary
#CABF50
secondary
#3B4283
accent
#58DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF50

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

Preview Lab → · Contrast checker → · Palette generator →

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