#CBF151#CBF151

#CBF151 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.2% C 0.186 H 121.8°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#CBF151
RGBrgb(203, 241, 81)
HSLhsl(74, 85%, 63%)
HSVhsv(74, 66%, 95%)
CMYKcmyk(15.8%, 0%, 66.4%, 5.5%)
CIE-LABlab(89.95, -33.65, 70.02)
CIE-LCHlch(89.95, 77.69, 115.66°)
OKLaboklab(90.19% -0.098 0.1582)
OKLCHoklch(90.19% 0.186 121.8)
XYZxyz(57.5699, 76.2011, 19.4584)
Luminance0.7620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF151 #7751F1
analogous
#F1C751 #CBF151 #7BF151
triadic
#CBF151 #51CBF1 #F151CB
tetradic
#CBF151 #51F1C7 #7751F1 #F1517B
square
#CBF151 #51F1C7 #7751F1 #F1517B
split-complementary
#CBF151 #517BF1 #C751F1
monochromatic
#90B90F #BAEC18 #CBF151 #DCF68A #EDFAC2

Accessibility & contrast

On white

1.29
#CBF151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#CBF151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF151
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF151#FFFFFF#000000##000000
##CBF1511.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#FAE25D
Tritanopia (blue-blind)
#D5E5D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cbf151;
/* rgb */ color: rgb(203, 241, 81);
/* oklch */ color: oklch(90.2% 0.186 121.8);
Tailwind
colors: {
  custom: {
    50: '#def58a',
    500: '#cbf151',
    950: '#000000',
  },
}
SCSS
$custom: #cbf151;
$custom-light: #def58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf151",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 74.25,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90187,
    "c": 0.18608,
    "h": 121.8
  },
  "luminance": 0.76201
}

Semantic roles & 50–950 ramp

primary
#CBF151
secondary
#4F2FB8
accent
#04E239
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CBF151

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

Preview Lab → · Contrast checker → · Palette generator →

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