#CBF396#CBF396

#CBF396 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.5% C 0.126 H 127.7°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#CBF396
RGBrgb(203, 243, 150)
HSLhsl(86, 79%, 77%)
HSVhsv(86, 38%, 95%)
CMYKcmyk(16.5%, 0%, 38.3%, 4.7%)
CIE-LABlab(91.23, -28.16, 40.67)
CIE-LCHlch(91.23, 49.47, 124.69°)
OKLaboklab(91.46% -0.0772 0.1)
OKLCHoklch(91.46% 0.126 127.7)
XYZxyz(62.1835, 78.9990, 40.8205)
Luminance0.7900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF396 #BE96F3
analogous
#F3EC96 #CBF396 #9DF396
triadic
#CBF396 #96CBF3 #F396CB
tetradic
#CBF396 #96F3EC #BE96F3 #F3969D
square
#CBF396 #96F3EC #BE96F3 #F3969D
split-complementary
#CBF396 #969DF3 #EC96F3
monochromatic
#95E628 #B0ED5F #CBF396 #E6F9CD #F1FCE4

Accessibility & contrast

On white

1.25
#CBF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#CBF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF396
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF396#FFFFFF#000000##000000
##CBF3961.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE88F
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#CFEBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cbf396;
/* rgb */ color: rgb(203, 243, 150);
/* oklch */ color: oklch(91.5% 0.126 127.7);
Tailwind
colors: {
  custom: {
    50: '#dcf7b6',
    500: '#cbf396',
    950: '#000000',
  },
}
SCSS
$custom: #cbf396;
$custom-light: #dcf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf396",
  "rgb": {
    "r": 203,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 85.806,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.91456,
    "c": 0.12634,
    "h": 127.7
  },
  "luminance": 0.79
}

Semantic roles & 50–950 ramp

primary
#CBF396
secondary
#8E5DD1
accent
#0ADC64
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF396

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

Preview Lab → · Contrast checker → · Palette generator →

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