#CBFA97#CBFA97

#CBFA97 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.0% C 0.135 H 129.4°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#CBFA97
RGBrgb(203, 250, 151)
HSLhsl(88, 91%, 79%)
HSVhsv(88, 40%, 98%)
CMYKcmyk(18.8%, 0%, 39.6%, 2%)
CIE-LABlab(93.15, -31.30, 42.64)
CIE-LCHlch(93.15, 52.90, 126.28°)
OKLaboklab(93% -0.0859 0.1046)
OKLCHoklch(93% 0.135 129.4)
XYZxyz(64.3993, 83.3011, 41.9580)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBFA97 #C697FA
analogous
#FAF897 #CBFA97 #99FA97
triadic
#CBFA97 #97CBFA #FA97CB
tetradic
#CBFA97 #97FAF8 #C697FA #FA9799
square
#CBFA97 #97FAF8 #C697FA #FA9799
split-complementary
#CBFA97 #9799FA #F897FA
monochromatic
#91F422 #AEF75D #CBFA97 #E8FDD1 #F0FEE2

Accessibility & contrast

On white

1.19
#CBFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#CBFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBFA97
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBFA97#FFFFFF#000000##000000
##CBFA971.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FCEA9C
Tritanopia (blue-blind)
#CFF2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cbfa97;
/* rgb */ color: rgb(203, 250, 151);
/* oklch */ color: oklch(93.0% 0.135 129.4);
Tailwind
colors: {
  custom: {
    50: '#dcfcb7',
    500: '#cbfa97',
    950: '#000000',
  },
}
SCSS
$custom: #cbfa97;
$custom-light: #dcfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbfa97",
  "rgb": {
    "r": 203,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 88.485,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92997,
    "c": 0.13537,
    "h": 129.4
  },
  "luminance": 0.83302
}

Semantic roles & 50–950 ramp

primary
#CBFA97
secondary
#975BDA
accent
#00E66D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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