#CBF97F#CBF97F

#CBF97F is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.4% C 0.158 H 126.3°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#CBF97F
RGBrgb(203, 249, 127)
HSLhsl(83, 91%, 74%)
HSVhsv(83, 49%, 98%)
CMYKcmyk(18.5%, 0%, 49%, 2.4%)
CIE-LABlab(92.57, -33.55, 53.37)
CIE-LCHlch(92.57, 63.03, 122.15°)
OKLaboklab(92.43% -0.0937 0.1274)
OKLCHoklch(92.43% 0.158 126.3)
XYZxyz(62.3348, 81.9795, 32.6141)
Luminance0.8198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF97F #AD7FF9
analogous
#F9EA7F #CBF97F #8EF97F
triadic
#CBF97F #7FCBF9 #F97FCB
tetradic
#CBF97F #7FF9EA #AD7FF9 #F97F8E
square
#CBF97F #7FF9EA #AD7FF9 #F97F8E
split-complementary
#CBF97F #7F8EF9 #EA7FF9
monochromatic
#9BF20B #B3F645 #CBF97F #E3FCB9 #F3FEE2

Accessibility & contrast

On white

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

On black

17.40
#CBF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF97F
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF97F#FFFFFF#000000##000000
##CBF97F1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB74
Deuteranopia (green-blind)
#FDE986
Tritanopia (blue-blind)
#D1EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbf97f;
/* rgb */ color: rgb(203, 249, 127);
/* oklch */ color: oklch(92.4% 0.158 126.3);
Tailwind
colors: {
  custom: {
    50: '#ddfba7',
    500: '#cbf97f',
    950: '#000000',
  },
}
SCSS
$custom: #cbf97f;
$custom-light: #ddfba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf97f",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 82.623,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9243,
    "c": 0.15813,
    "h": 126.3
  },
  "luminance": 0.8198
}

Semantic roles & 50–950 ramp

primary
#CBF97F
secondary
#7C46D6
accent
#00E657
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CBF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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