#CBF798#CBF798

#CBF798 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.4% C 0.130 H 128.9°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#CBF798
RGBrgb(203, 247, 152)
HSLhsl(88, 86%, 78%)
HSVhsv(88, 38%, 97%)
CMYKcmyk(17.8%, 0%, 38.5%, 3.1%)
CIE-LABlab(92.35, -29.78, 41.12)
CIE-LCHlch(92.35, 50.78, 125.91°)
OKLaboklab(92.36% -0.0817 0.1011)
OKLCHoklch(92.36% 0.13 128.9)
XYZxyz(63.5560, 81.4842, 42.0793)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF798 #C498F7
analogous
#F7F398 #CBF798 #9BF798
triadic
#CBF798 #98CBF7 #F798CB
tetradic
#CBF798 #98F7F3 #C498F7 #F7989B
square
#CBF798 #98F7F3 #C498F7 #F7989B
split-complementary
#CBF798 #989BF7 #F398F7
monochromatic
#92EE26 #AEF35F #CBF798 #E8FBD1 #F1FDE3

Accessibility & contrast

On white

1.21
#CBF798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#CBF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF798
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF798#FFFFFF#000000##000000
##CBF7981.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#F9E89D
Tritanopia (blue-blind)
#CFEFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf798;
/* rgb */ color: rgb(203, 247, 152);
/* oklch */ color: oklch(92.4% 0.130 128.9);
Tailwind
colors: {
  custom: {
    50: '#dcfab7',
    500: '#cbf798',
    950: '#000000',
  },
}
SCSS
$custom: #cbf798;
$custom-light: #dcfab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf798",
  "rgb": {
    "r": 203,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 87.789,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92359,
    "c": 0.12998,
    "h": 128.9
  },
  "luminance": 0.81485
}

Semantic roles & 50–950 ramp

primary
#CBF798
secondary
#955DD6
accent
#03E26B
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF798

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

Preview Lab → · Contrast checker → · Palette generator →

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