#CBF87A#CBF87A

#CBF87A is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.162 H 125.7°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#CBF87A
RGBrgb(203, 248, 122)
HSLhsl(81, 90%, 73%)
HSVhsv(81, 51%, 97%)
CMYKcmyk(18.1%, 0%, 50.8%, 2.7%)
CIE-LABlab(92.24, -33.58, 55.27)
CIE-LCHlch(92.24, 64.68, 121.28°)
OKLaboklab(92.15% -0.0942 0.1312)
OKLCHoklch(92.15% 0.162 125.7)
XYZxyz(61.7088, 81.2358, 30.8376)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF87A #A77AF8
analogous
#F8E67A #CBF87A #8CF87A
triadic
#CBF87A #7ACBF8 #F87ACB
tetradic
#CBF87A #7AF8E6 #A77AF8 #F87A8C
square
#CBF87A #7AF8E6 #A77AF8 #F87A8C
split-complementary
#CBF87A #7A8CF8 #E67AF8
monochromatic
#9CEB0C #B4F540 #CBF87A #E2FBB4 #F4FDE2

Accessibility & contrast

On white

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

On black

17.25
#CBF87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF87A
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF87A#FFFFFF#000000##000000
##CBF87A1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6E
Deuteranopia (green-blind)
#FDE882
Tritanopia (blue-blind)
#D2EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf87a;
/* rgb */ color: rgb(203, 248, 122);
/* oklch */ color: oklch(92.1% 0.162 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddfaa3',
    500: '#cbf87a',
    950: '#000000',
  },
}
SCSS
$custom: #cbf87a;
$custom-light: #ddfaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf87a",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 81.429,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92146,
    "c": 0.16151,
    "h": 125.7
  },
  "luminance": 0.81236
}

Semantic roles & 50–950 ramp

primary
#CBF87A
secondary
#7642D4
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF87A

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

Preview Lab → · Contrast checker → · Palette generator →

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