#CBF871#CBF871

#CBF871 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.0% C 0.170 H 125.0°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#CBF871
RGBrgb(203, 248, 113)
HSLhsl(80, 91%, 71%)
HSVhsv(80, 54%, 97%)
CMYKcmyk(18.1%, 0%, 54.4%, 2.7%)
CIE-LABlab(92.14, -34.43, 59.21)
CIE-LCHlch(92.14, 68.49, 120.17°)
OKLaboklab(92.04% -0.0973 0.139)
OKLCHoklch(92.04% 0.17 125)
XYZxyz(61.1767, 81.0230, 28.0356)
Luminance0.8102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF871 #9E71F8
analogous
#F8E171 #CBF871 #87F871
triadic
#CBF871 #71CBF8 #F871CB
tetradic
#CBF871 #71F8E1 #9E71F8 #F87187
square
#CBF871 #71F8E1 #9E71F8 #F87187
split-complementary
#CBF871 #7187F8 #E171F8
monochromatic
#9BE30B #B6F537 #CBF871 #E0FBAB #F4FEE2

Accessibility & contrast

On white

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

On black

17.20
#CBF871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF871
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF871#FFFFFF#000000##000000
##CBF8711.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#D3EEDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cbf871;
/* rgb */ color: rgb(203, 248, 113);
/* oklch */ color: oklch(92.0% 0.170 125.0);
Tailwind
colors: {
  custom: {
    50: '#ddfa9d',
    500: '#cbf871',
    950: '#000000',
  },
}
SCSS
$custom: #cbf871;
$custom-light: #ddfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf871",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 80,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9204,
    "c": 0.16965,
    "h": 125
  },
  "luminance": 0.81024
}

Semantic roles & 50–950 ramp

primary
#CBF871
secondary
#6D3AD3
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF871

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

Preview Lab → · Contrast checker → · Palette generator →

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