#CBF796#CBF796

#CBF796 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.132 H 128.6°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#CBF796
RGBrgb(203, 247, 150)
HSLhsl(87, 86%, 78%)
HSVhsv(87, 39%, 97%)
CMYKcmyk(17.8%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.32, -30.03, 42.07)
CIE-LCHlch(92.32, 51.69, 125.52°)
OKLaboklab(92.33% -0.0824 0.1032)
OKLCHoklch(92.33% 0.132 128.6)
XYZxyz(63.3936, 81.4192, 41.2239)
Luminance0.8142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF796 #C296F7
analogous
#F7F296 #CBF796 #9BF796
triadic
#CBF796 #96CBF7 #F796CB
tetradic
#CBF796 #96F7F2 #C296F7 #F7969B
square
#CBF796 #96F7F2 #C296F7 #F7969B
split-complementary
#CBF796 #969BF7 #F296F7
monochromatic
#93EE24 #AFF35D #CBF796 #E7FBCF #F1FDE3

Accessibility & contrast

On white

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

On black

17.28
#CBF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF796
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF796#FFFFFF#000000##000000
##CBF7961.001.2117.2817.28
#FFFFFF1.211.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#F9E89B
Tritanopia (blue-blind)
#CFEFDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf796;
/* rgb */ color: rgb(203, 247, 150);
/* oklch */ color: oklch(92.3% 0.132 128.6);
Tailwind
colors: {
  custom: {
    50: '#dcfab6',
    500: '#cbf796',
    950: '#000000',
  },
}
SCSS
$custom: #cbf796;
$custom-light: #dcfab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf796",
  "rgb": {
    "r": 203,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 87.216,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92327,
    "c": 0.13211,
    "h": 128.6
  },
  "luminance": 0.8142
}

Semantic roles & 50–950 ramp

primary
#CBF796
secondary
#935BD6
accent
#03E268
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF796

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

Preview Lab → · Contrast checker → · Palette generator →

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