#CBF157#CBF157

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

Color values

HEX#CBF157
RGBrgb(203, 241, 87)
HSLhsl(75, 85%, 64%)
HSVhsv(75, 64%, 95%)
CMYKcmyk(15.8%, 0%, 63.9%, 5.5%)
CIE-LABlab(90.00, -33.26, 67.76)
CIE-LCHlch(90.00, 75.48, 116.14°)
OKLaboklab(90.24% -0.0964 0.1543)
OKLCHoklch(90.24% 0.182 122)
XYZxyz(57.8049, 76.2951, 20.6961)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF157 #7D57F1
analogous
#F1CA57 #CBF157 #7EF157
triadic
#CBF157 #57CBF1 #F157CB
tetradic
#CBF157 #57F1CA #7D57F1 #F1577E
square
#CBF157 #57F1CA #7D57F1 #F1577E
split-complementary
#CBF157 #577EF1 #CA57F1
monochromatic
#93BE10 #BAEC1F #CBF157 #DCF68F #EEFAC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF157#FFFFFF#000000##000000
##CBF1571.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)
#FFE343
Deuteranopia (green-blind)
#FAE262
Tritanopia (blue-blind)
#D5E5D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cbf157;
/* rgb */ color: rgb(203, 241, 87);
/* oklch */ color: oklch(90.2% 0.182 122.0);
Tailwind
colors: {
  custom: {
    50: '#def58d',
    500: '#cbf157',
    950: '#000000',
  },
}
SCSS
$custom: #cbf157;
$custom-light: #def58d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf157",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 74.805,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90236,
    "c": 0.18188,
    "h": 122
  },
  "luminance": 0.76295
}

Semantic roles & 50–950 ramp

primary
#CBF157
secondary
#5330BC
accent
#04E13B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF157

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

Preview Lab → · Contrast checker → · Palette generator →

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