#CBF158#CBF158

#CBF158 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 90.2% C 0.181 H 122.0°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#CBF158
RGBrgb(203, 241, 88)
HSLhsl(75, 85%, 65%)
HSVhsv(75, 63%, 95%)
CMYKcmyk(15.8%, 0%, 63.5%, 5.5%)
CIE-LABlab(90.00, -33.19, 67.37)
CIE-LCHlch(90.00, 75.10, 116.23°)
OKLaboklab(90.25% -0.0961 0.1536)
OKLCHoklch(90.25% 0.181 122)
XYZxyz(57.8460, 76.3116, 20.9128)
Luminance0.7631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF158 #7E58F1
analogous
#F1CB58 #CBF158 #7FF158
triadic
#CBF158 #58CBF1 #F158CB
tetradic
#CBF158 #58F1CB #7E58F1 #F1587F
square
#CBF158 #58F1CB #7E58F1 #F1587F
split-complementary
#CBF158 #587FF1 #CB58F1
monochromatic
#93BF10 #B9EC20 #CBF158 #DDF690 #EEFAC9

Accessibility & contrast

On white

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

On black

16.26
#CBF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF158
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF158#FFFFFF#000000##000000
##CBF1581.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbf158;
/* rgb */ color: rgb(203, 241, 88);
/* oklch */ color: oklch(90.2% 0.181 122.0);
Tailwind
colors: {
  custom: {
    50: '#def58e',
    500: '#cbf158',
    950: '#000000',
  },
}
SCSS
$custom: #cbf158;
$custom-light: #def58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf158",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 74.902,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90245,
    "c": 0.18116,
    "h": 122
  },
  "luminance": 0.76312
}

Semantic roles & 50–950 ramp

primary
#CBF158
secondary
#5330BD
accent
#05E13B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF158

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

Preview Lab → · Contrast checker → · Palette generator →

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