#CBF87B#CBF87B

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

Color values

HEX#CBF87B
RGBrgb(203, 248, 123)
HSLhsl(82, 90%, 73%)
HSVhsv(82, 50%, 97%)
CMYKcmyk(18.1%, 0%, 50.4%, 2.7%)
CIE-LABlab(92.25, -33.49, 54.83)
CIE-LCHlch(92.25, 64.25, 121.42°)
OKLaboklab(92.16% -0.0939 0.1303)
OKLCHoklch(92.16% 0.161 125.8)
XYZxyz(61.7710, 81.2607, 31.1656)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF87B #A87BF8
analogous
#F8E67B #CBF87B #8CF87B
triadic
#CBF87B #7BCBF8 #F87BCB
tetradic
#CBF87B #7BF8E6 #A87BF8 #F87B8C
square
#CBF87B #7BF8E6 #A87BF8 #F87B8C
split-complementary
#CBF87B #7B8CF8 #E67BF8
monochromatic
#9CEC0D #B4F541 #CBF87B #E2FBB5 #F4FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF87B#FFFFFF#000000##000000
##CBF87B1.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)
#FFEA70
Deuteranopia (green-blind)
#FDE883
Tritanopia (blue-blind)
#D2EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf87b;
/* rgb */ color: rgb(203, 248, 123);
/* oklch */ color: oklch(92.2% 0.161 125.8);
Tailwind
colors: {
  custom: {
    50: '#ddfaa4',
    500: '#cbf87b',
    950: '#000000',
  },
}
SCSS
$custom: #cbf87b;
$custom-light: #ddfaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf87b",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 81.6,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92159,
    "c": 0.16058,
    "h": 125.8
  },
  "luminance": 0.81261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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