#CBF878#CBF878

#CBF878 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.163 H 125.5°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#CBF878
RGBrgb(203, 248, 120)
HSLhsl(81, 90%, 72%)
HSVhsv(81, 52%, 97%)
CMYKcmyk(18.1%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.21, -33.78, 56.16)
CIE-LCHlch(92.21, 65.53, 121.03°)
OKLaboklab(92.12% -0.0949 0.133)
OKLCHoklch(92.12% 0.163 125.5)
XYZxyz(61.5861, 81.1868, 30.1917)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF878 #A578F8
analogous
#F8E578 #CBF878 #8BF878
triadic
#CBF878 #78CBF8 #F878CB
tetradic
#CBF878 #78F8E5 #A578F8 #F8788B
square
#CBF878 #78F8E5 #A578F8 #F8788B
split-complementary
#CBF878 #788BF8 #E578F8
monochromatic
#9CE90C #B5F53E #CBF878 #E1FBB2 #F4FDE2

Accessibility & contrast

On white

1.22
#CBF878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#CBF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF878
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF878#FFFFFF#000000##000000
##CBF8781.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#D2EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf878;
/* rgb */ color: rgb(203, 248, 120);
/* oklch */ color: oklch(92.1% 0.163 125.5);
Tailwind
colors: {
  custom: {
    50: '#ddfaa2',
    500: '#cbf878',
    950: '#000000',
  },
}
SCSS
$custom: #cbf878;
$custom-light: #ddfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf878",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 81.094,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92122,
    "c": 0.16336,
    "h": 125.5
  },
  "luminance": 0.81187
}

Semantic roles & 50–950 ramp

primary
#CBF878
secondary
#7440D4
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF878

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

Preview Lab → · Contrast checker → · Palette generator →

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