#CBF257#CBF257

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

Color values

HEX#CBF257
RGBrgb(203, 242, 87)
HSLhsl(75, 86%, 65%)
HSVhsv(75, 64%, 95%)
CMYKcmyk(16.1%, 0%, 64%, 5.1%)
CIE-LABlab(90.27, -33.72, 68.05)
CIE-LCHlch(90.27, 75.94, 116.36°)
OKLaboklab(90.46% -0.0976 0.1549)
OKLCHoklch(90.46% 0.183 122.2)
XYZxyz(58.1017, 76.8888, 20.7951)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF257 #7E57F2
analogous
#F2CC57 #CBF257 #7EF257
triadic
#CBF257 #57CBF2 #F257CB
tetradic
#CBF257 #57F2CC #7E57F2 #F2577E
square
#CBF257 #57F2CC #7E57F2 #F2577E
split-complementary
#CBF257 #577EF2 #CC57F2
monochromatic
#93C00F #B9EE1E #CBF257 #DDF690 #EEFBC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF257#FFFFFF#000000##000000
##CBF2571.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)
#FFE442
Deuteranopia (green-blind)
#FBE362
Tritanopia (blue-blind)
#D5E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf257;
/* rgb */ color: rgb(203, 242, 87);
/* oklch */ color: oklch(90.5% 0.183 122.2);
Tailwind
colors: {
  custom: {
    50: '#def68d',
    500: '#cbf257',
    950: '#000000',
  },
}
SCSS
$custom: #cbf257;
$custom-light: #def68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf257",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 75.097,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90457,
    "c": 0.18307,
    "h": 122.2
  },
  "luminance": 0.76889
}

Semantic roles & 50–950 ramp

primary
#CBF257
secondary
#5330BE
accent
#03E23B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF257

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

Preview Lab → · Contrast checker → · Palette generator →

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