#CBF797#CBF797

#CBF797 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.131 H 128.8°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CBF797
RGBrgb(203, 247, 151)
HSLhsl(88, 86%, 78%)
HSVhsv(88, 39%, 97%)
CMYKcmyk(17.8%, 0%, 38.9%, 3.1%)
CIE-LABlab(92.33, -29.91, 41.60)
CIE-LCHlch(92.33, 51.23, 125.71°)
OKLaboklab(92.34% -0.082 0.1022)
OKLCHoklch(92.34% 0.131 128.8)
XYZxyz(63.4745, 81.4515, 41.6498)
Luminance0.8145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF797 #C397F7
analogous
#F7F397 #CBF797 #9BF797
triadic
#CBF797 #97CBF7 #F797CB
tetradic
#CBF797 #97F7F3 #C397F7 #F7979B
square
#CBF797 #97F7F3 #C397F7 #F7979B
split-complementary
#CBF797 #979BF7 #F397F7
monochromatic
#92EE25 #AFF35E #CBF797 #E7FBD0 #F1FDE3

Accessibility & contrast

On white

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

On black

17.29
#CBF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF797
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF797#FFFFFF#000000##000000
##CBF7971.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbf797;
/* rgb */ color: rgb(203, 247, 151);
/* oklch */ color: oklch(92.3% 0.131 128.8);
Tailwind
colors: {
  custom: {
    50: '#dcfab7',
    500: '#cbf797',
    950: '#000000',
  },
}
SCSS
$custom: #cbf797;
$custom-light: #dcfab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf797",
  "rgb": {
    "r": 203,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 87.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92343,
    "c": 0.13105,
    "h": 128.8
  },
  "luminance": 0.81452
}

Semantic roles & 50–950 ramp

primary
#CBF797
secondary
#945CD6
accent
#03E269
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF797

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

Preview Lab → · Contrast checker → · Palette generator →

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