#CBFA98#CBFA98

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

Color values

HEX#CBFA98
RGBrgb(203, 250, 152)
HSLhsl(89, 91%, 79%)
HSVhsv(89, 39%, 98%)
CMYKcmyk(18.8%, 0%, 39.2%, 2%)
CIE-LABlab(93.16, -31.18, 42.17)
CIE-LCHlch(93.16, 52.45, 126.48°)
OKLaboklab(93.01% -0.0856 0.1035)
OKLCHoklch(93.01% 0.134 129.6)
XYZxyz(64.4808, 83.3337, 42.3875)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBFA98 #C798FA
analogous
#FAF898 #CBFA98 #9AFA98
triadic
#CBFA98 #98CBFA #FA98CB
tetradic
#CBFA98 #98FAF8 #C798FA #FA989A
square
#CBFA98 #98FAF8 #C798FA #FA989A
split-complementary
#CBFA98 #989AFA #F898FA
monochromatic
#90F423 #AEF75E #CBFA98 #E8FDD2 #F0FEE2

Accessibility & contrast

On white

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

On black

17.67
#CBFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBFA98
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBFA98#FFFFFF#000000##000000
##CBFA981.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FCEA9D
Tritanopia (blue-blind)
#CEF2E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cbfa98;
/* rgb */ color: rgb(203, 250, 152);
/* oklch */ color: oklch(93.0% 0.134 129.6);
Tailwind
colors: {
  custom: {
    50: '#dcfcb7',
    500: '#cbfa98',
    950: '#000000',
  },
}
SCSS
$custom: #cbfa98;
$custom-light: #dcfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbfa98",
  "rgb": {
    "r": 203,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 88.776,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93013,
    "c": 0.13432,
    "h": 129.6
  },
  "luminance": 0.83335
}

Semantic roles & 50–950 ramp

primary
#CBFA98
secondary
#995CDB
accent
#00E66E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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