#CBF278#CBF278

#CBF278 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.8% C 0.155 H 124.1°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#CBF278
RGBrgb(203, 242, 120)
HSLhsl(79, 82%, 71%)
HSVhsv(79, 50%, 95%)
CMYKcmyk(16.1%, 0%, 50.4%, 5.1%)
CIE-LABlab(90.58, -31.01, 54.21)
CIE-LCHlch(90.58, 62.46, 119.77°)
OKLaboklab(90.8% -0.0872 0.1287)
OKLCHoklch(90.8% 0.155 124.1)
XYZxyz(59.7710, 77.5565, 29.5866)
Luminance0.7756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF278 #9F78F2
analogous
#F2DC78 #CBF278 #8EF278
triadic
#CBF278 #78CBF2 #F278CB
tetradic
#CBF278 #78F2DC #9F78F2 #F2788E
square
#CBF278 #78F2DC #9F78F2 #F2788E
split-complementary
#CBF278 #788EF2 #DC78F2
monochromatic
#9BDB15 #B5ED40 #CBF278 #E1F7B0 #F4FCE3

Accessibility & contrast

On white

1.27
#CBF278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#CBF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF278
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF278#FFFFFF#000000##000000
##CBF2781.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56D
Deuteranopia (green-blind)
#F8E47F
Tritanopia (blue-blind)
#D3E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cbf278;
/* rgb */ color: rgb(203, 242, 120);
/* oklch */ color: oklch(90.8% 0.155 124.1);
Tailwind
colors: {
  custom: {
    50: '#ddf6a2',
    500: '#cbf278',
    950: '#000000',
  },
}
SCSS
$custom: #cbf278;
$custom-light: #ddf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf278",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 79.18,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90803,
    "c": 0.15545,
    "h": 124.1
  },
  "luminance": 0.77557
}

Semantic roles & 50–950 ramp

primary
#CBF278
secondary
#6E42CC
accent
#07DF4C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF278

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

Preview Lab → · Contrast checker → · Palette generator →

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