#CBF296#CBF296

#CBF296 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.125 H 127.4°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#CBF296
RGBrgb(203, 242, 150)
HSLhsl(85, 78%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(16.1%, 0%, 38%, 5.1%)
CIE-LABlab(90.96, -27.68, 40.32)
CIE-LCHlch(90.96, 48.91, 124.47°)
OKLaboklab(91.24% -0.0759 0.0992)
OKLCHoklch(91.24% 0.125 127.4)
XYZxyz(61.8851, 78.4021, 40.7210)
Luminance0.7840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF296 #BD96F2
analogous
#F2EB96 #CBF296 #9DF296
triadic
#CBF296 #96CBF2 #F296CB
tetradic
#CBF296 #96F2EB #BD96F2 #F2969D
square
#CBF296 #96F2EB #BD96F2 #F2969D
split-complementary
#CBF296 #969DF2 #EB96F2
monochromatic
#95E529 #B0EB60 #CBF296 #E6F9CC #F2FCE4

Accessibility & contrast

On white

1.26
#CBF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#CBF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF296
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF296#FFFFFF#000000##000000
##CBF2961.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78F
Deuteranopia (green-blind)
#F5E49B
Tritanopia (blue-blind)
#CFEADB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf296;
/* rgb */ color: rgb(203, 242, 150);
/* oklch */ color: oklch(91.2% 0.125 127.4);
Tailwind
colors: {
  custom: {
    50: '#dcf6b6',
    500: '#cbf296',
    950: '#000000',
  },
}
SCSS
$custom: #cbf296;
$custom-light: #dcf6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf296",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 85.435,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91239,
    "c": 0.1249,
    "h": 127.4
  },
  "luminance": 0.78403
}

Semantic roles & 50–950 ramp

primary
#CBF296
secondary
#8D5DCF
accent
#0BDA63
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF296

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

Preview Lab → · Contrast checker → · Palette generator →

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