#CBF87C#CBF87C

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

Color values

HEX#CBF87C
RGBrgb(203, 248, 124)
HSLhsl(82, 90%, 73%)
HSVhsv(82, 50%, 97%)
CMYKcmyk(18.1%, 0%, 50%, 2.7%)
CIE-LABlab(92.26, -33.39, 54.38)
CIE-LCHlch(92.26, 63.81, 121.55°)
OKLaboklab(92.17% -0.0935 0.1294)
OKLCHoklch(92.17% 0.16 125.9)
XYZxyz(61.8340, 81.2859, 31.4970)
Luminance0.8129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF87C #A97CF8
analogous
#F8E77C #CBF87C #8DF87C
triadic
#CBF87C #7CCBF8 #F87CCB
tetradic
#CBF87C #7CF8E7 #A97CF8 #F87C8D
square
#CBF87C #7CF8E7 #A97CF8 #F87C8D
split-complementary
#CBF87C #7C8DF8 #E77CF8
monochromatic
#9CED0D #B4F542 #CBF87C #E2FBB6 #F3FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF87C#FFFFFF#000000##000000
##CBF87C1.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)
#FFEA71
Deuteranopia (green-blind)
#FDE883
Tritanopia (blue-blind)
#D2EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf87c;
/* rgb */ color: rgb(203, 248, 124);
/* oklch */ color: oklch(92.2% 0.160 125.9);
Tailwind
colors: {
  custom: {
    50: '#ddfaa5',
    500: '#cbf87c',
    950: '#000000',
  },
}
SCSS
$custom: #cbf87c;
$custom-light: #ddfaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf87c",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 81.774,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92172,
    "c": 0.15964,
    "h": 125.9
  },
  "luminance": 0.81287
}

Semantic roles & 50–950 ramp

primary
#CBF87C
secondary
#7844D4
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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