#CBF87D#CBF87D

#CBF87D is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.159 H 125.9°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#CBF87D
RGBrgb(203, 248, 125)
HSLhsl(82, 90%, 73%)
HSVhsv(82, 50%, 97%)
CMYKcmyk(18.1%, 0%, 49.6%, 2.7%)
CIE-LABlab(92.27, -33.29, 53.93)
CIE-LCHlch(92.27, 63.38, 121.68°)
OKLaboklab(92.18% -0.0931 0.1285)
OKLCHoklch(92.18% 0.159 125.9)
XYZxyz(61.8975, 81.3113, 31.8317)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF87D #AA7DF8
analogous
#F8E77D #CBF87D #8DF87D
triadic
#CBF87D #7DCBF8 #F87DCB
tetradic
#CBF87D #7DF8E7 #AA7DF8 #F87D8D
square
#CBF87D #7DF8E7 #AA7DF8 #F87D8D
split-complementary
#CBF87D #7D8DF8 #E77DF8
monochromatic
#9BEE0D #B4F543 #CBF87D #E2FBB7 #F3FDE2

Accessibility & contrast

On white

1.22
#CBF87D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#CBF87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF87D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF87D#FFFFFF#000000##000000
##CBF87D1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FDE884
Tritanopia (blue-blind)
#D2EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf87d;
/* rgb */ color: rgb(203, 248, 125);
/* oklch */ color: oklch(92.2% 0.159 125.9);
Tailwind
colors: {
  custom: {
    50: '#ddfaa5',
    500: '#cbf87d',
    950: '#000000',
  },
}
SCSS
$custom: #cbf87d;
$custom-light: #ddfaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf87d",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 81.951,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92184,
    "c": 0.15869,
    "h": 125.9
  },
  "luminance": 0.81312
}

Semantic roles & 50–950 ramp

primary
#CBF87D
secondary
#7945D4
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF87D

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

Preview Lab → · Contrast checker → · Palette generator →

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