#CBFA72#CBFA72

#CBFA72 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.5% C 0.171 H 125.5°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#CBFA72
RGBrgb(203, 250, 114)
HSLhsl(81, 93%, 71%)
HSVhsv(81, 54%, 98%)
CMYKcmyk(18.8%, 0%, 54.4%, 2%)
CIE-LABlab(92.70, -35.25, 59.42)
CIE-LCHlch(92.70, 69.08, 120.68°)
OKLaboklab(92.49% -0.0995 0.1395)
OKLCHoklch(92.49% 0.171 125.5)
XYZxyz(61.8515, 82.2820, 28.5398)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBFA72 #A172FA
analogous
#FAE572 #CBFA72 #87FA72
triadic
#CBFA72 #72CBFA #FA72CB
tetradic
#CBFA72 #72FAE5 #A172FA #FA7287
square
#CBFA72 #72FAE5 #A172FA #FA7287
split-complementary
#CBFA72 #7287FA #E572FA
monochromatic
#9CE908 #B5F837 #CBFA72 #E1FCAD #F4FEE1

Accessibility & contrast

On white

1.20
#CBFA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#CBFA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBFA72
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBFA72#FFFFFF#000000##000000
##CBFA721.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#D2F0DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbfa72;
/* rgb */ color: rgb(203, 250, 114);
/* oklch */ color: oklch(92.5% 0.171 125.5);
Tailwind
colors: {
  custom: {
    50: '#ddfc9e',
    500: '#cbfa72',
    950: '#000000',
  },
}
SCSS
$custom: #cbfa72;
$custom-light: #ddfc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbfa72",
  "rgb": {
    "r": 203,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 80.735,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92492,
    "c": 0.17136,
    "h": 125.5
  },
  "luminance": 0.82283
}

Semantic roles & 50–950 ramp

primary
#CBFA72
secondary
#703BD6
accent
#00E64F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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