#CBF996#CBF996

#CBF996 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.135 H 129.1°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#CBF996
RGBrgb(203, 249, 150)
HSLhsl(88, 89%, 78%)
HSVhsv(88, 40%, 98%)
CMYKcmyk(18.5%, 0%, 39.8%, 2.4%)
CIE-LABlab(92.86, -30.96, 42.77)
CIE-LCHlch(92.86, 52.80, 125.90°)
OKLaboklab(92.76% -0.085 0.1048)
OKLCHoklch(92.76% 0.135 129.1)
XYZxyz(64.0085, 82.6489, 41.4288)
Luminance0.8265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF996 #C496F9
analogous
#F9F696 #CBF996 #99F996
triadic
#CBF996 #96CBF9 #F996CB
tetradic
#CBF996 #96F9F6 #C496F9 #F99699
square
#CBF996 #96F9F6 #C496F9 #F99699
split-complementary
#CBF996 #9699F9 #F696F9
monochromatic
#92F222 #AEF65C #CBF996 #E8FCD0 #F1FDE2

Accessibility & contrast

On white

1.20
#CBF996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#CBF996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF996
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF996#FFFFFF#000000##000000
##CBF9961.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FBE99B
Tritanopia (blue-blind)
#CFF1E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbf996;
/* rgb */ color: rgb(203, 249, 150);
/* oklch */ color: oklch(92.8% 0.135 129.1);
Tailwind
colors: {
  custom: {
    50: '#dcfbb6',
    500: '#cbf996',
    950: '#000000',
  },
}
SCSS
$custom: #cbf996;
$custom-light: #dcfbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf996",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 87.879,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92763,
    "c": 0.13498,
    "h": 129.1
  },
  "luminance": 0.8265
}

Semantic roles & 50–950 ramp

primary
#CBF996
secondary
#955AD9
accent
#00E66B
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF996

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

Preview Lab → · Contrast checker → · Palette generator →

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