#CBEF97#CBEF97

#CBEF97 is a very light, moderate yellow-green. Relative luminance 0.767; OKLCH L 90.6% C 0.119 H 126.8°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#CBEF97
RGBrgb(203, 239, 151)
HSLhsl(85, 73%, 76%)
HSVhsv(85, 37%, 94%)
CMYKcmyk(15.1%, 0%, 36.8%, 6.3%)
CIE-LABlab(90.17, -26.14, 38.80)
CIE-LCHlch(90.17, 46.78, 123.97°)
OKLaboklab(90.61% -0.0715 0.0957)
OKLCHoklch(90.61% 0.119 126.8)
XYZxyz(61.0804, 76.6633, 40.8517)
Luminance0.7666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBEF97 #BB97EF
analogous
#EFE797 #CBEF97 #9FEF97
triadic
#CBEF97 #97CBEF #EF97CB
tetradic
#CBEF97 #97EFE7 #BB97EF #EF979F
square
#CBEF97 #97EFE7 #BB97EF #EF979F
split-complementary
#CBEF97 #979FEF #E797EF
monochromatic
#96DF2D #B0E762 #CBEF97 #E6F7CC #F2FBE4

Accessibility & contrast

On white

1.29
#CBEF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#CBEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBEF97
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBEF97#FFFFFF#000000##000000
##CBEF971.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E491
Deuteranopia (green-blind)
#F2E29B
Tritanopia (blue-blind)
#D0E7D9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbef97;
/* rgb */ color: rgb(203, 239, 151);
/* oklch */ color: oklch(90.6% 0.119 126.8);
Tailwind
colors: {
  custom: {
    50: '#dcf4b6',
    500: '#cbef97',
    950: '#000000',
  },
}
SCSS
$custom: #cbef97;
$custom-light: #dcf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbef97",
  "rgb": {
    "r": 203,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 84.545,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90605,
    "c": 0.11946,
    "h": 126.8
  },
  "luminance": 0.76664
}

Semantic roles & 50–950 ramp

primary
#CBEF97
secondary
#8B5FCB
accent
#10D561
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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