#CBF258#CBF258

#CBF258 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.5% C 0.182 H 122.3°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#CBF258
RGBrgb(203, 242, 88)
HSLhsl(75, 86%, 65%)
HSVhsv(75, 64%, 95%)
CMYKcmyk(16.1%, 0%, 63.6%, 5.1%)
CIE-LABlab(90.28, -33.65, 67.66)
CIE-LCHlch(90.28, 75.57, 116.44°)
OKLaboklab(90.47% -0.0974 0.1542)
OKLCHoklch(90.47% 0.182 122.3)
XYZxyz(58.1428, 76.9052, 21.0117)
Luminance0.7691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF258 #7F58F2
analogous
#F2CC58 #CBF258 #7EF258
triadic
#CBF258 #58CBF2 #F258CB
tetradic
#CBF258 #58F2CC #7F58F2 #F2587E
square
#CBF258 #58F2CC #7F58F2 #F2587E
split-complementary
#CBF258 #587EF2 #CC58F2
monochromatic
#94C10F #B9EE1F #CBF258 #DDF691 #EEFBCA

Accessibility & contrast

On white

1.28
#CBF258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#CBF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF258
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF258#FFFFFF#000000##000000
##CBF2581.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE444
Deuteranopia (green-blind)
#FBE363
Tritanopia (blue-blind)
#D5E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf258;
/* rgb */ color: rgb(203, 242, 88);
/* oklch */ color: oklch(90.5% 0.182 122.3);
Tailwind
colors: {
  custom: {
    50: '#def68e',
    500: '#cbf258',
    950: '#000000',
  },
}
SCSS
$custom: #cbf258;
$custom-light: #def68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf258",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 75.195,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90466,
    "c": 0.18235,
    "h": 122.3
  },
  "luminance": 0.76905
}

Semantic roles & 50–950 ramp

primary
#CBF258
secondary
#5430BE
accent
#03E23C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF258

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

Preview Lab → · Contrast checker → · Palette generator →

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