#CBF178#CBF178

#CBF178 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.6% C 0.154 H 123.9°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#CBF178
RGBrgb(203, 241, 120)
HSLhsl(79, 81%, 71%)
HSVhsv(79, 50%, 95%)
CMYKcmyk(15.8%, 0%, 50.2%, 5.5%)
CIE-LABlab(90.30, -30.55, 53.89)
CIE-LCHlch(90.30, 61.94, 119.55°)
OKLaboklab(90.58% -0.0859 0.128)
OKLCHoklch(90.58% 0.154 123.9)
XYZxyz(59.4742, 76.9628, 29.4877)
Luminance0.7696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF178 #9E78F1
analogous
#F1DA78 #CBF178 #8EF178
triadic
#CBF178 #78CBF1 #F178CB
tetradic
#CBF178 #78F1DA #9E78F1 #F1788E
square
#CBF178 #78F1DA #9E78F1 #F1788E
split-complementary
#CBF178 #788EF1 #DA78F1
monochromatic
#9BD816 #B6EB41 #CBF178 #E0F7AF #F4FCE3

Accessibility & contrast

On white

1.28
#CBF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#CBF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF178
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF178#FFFFFF#000000##000000
##CBF1781.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46D
Deuteranopia (green-blind)
#F7E37F
Tritanopia (blue-blind)
#D3E7D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf178;
/* rgb */ color: rgb(203, 241, 120);
/* oklch */ color: oklch(90.6% 0.154 123.9);
Tailwind
colors: {
  custom: {
    50: '#ddf5a2',
    500: '#cbf178',
    950: '#000000',
  },
}
SCSS
$custom: #cbf178;
$custom-light: #ddf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf178",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 78.843,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90584,
    "c": 0.15414,
    "h": 123.9
  },
  "luminance": 0.76963
}

Semantic roles & 50–950 ramp

primary
#CBF178
secondary
#6D42CB
accent
#08DE4B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF178

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

Preview Lab → · Contrast checker → · Palette generator →

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