#CBF171#CBF171

#CBF171 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.5% C 0.161 H 123.3°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#CBF171
RGBrgb(203, 241, 113)
HSLhsl(78, 82%, 69%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(15.8%, 0%, 53.1%, 5.5%)
CIE-LABlab(90.23, -31.21, 56.99)
CIE-LCHlch(90.23, 64.97, 118.70°)
OKLaboklab(90.5% -0.0883 0.1342)
OKLCHoklch(90.5% 0.161 123.3)
XYZxyz(59.0648, 76.7991, 27.3316)
Luminance0.7680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF171 #9771F1
analogous
#F1D771 #CBF171 #8BF171
triadic
#CBF171 #71CBF1 #F171CB
tetradic
#CBF171 #71F1D7 #9771F1 #F1718B
square
#CBF171 #71F1D7 #9771F1 #F1718B
split-complementary
#CBF171 #718BF1 #D771F1
monochromatic
#9AD315 #B7EC39 #CBF171 #DFF6A9 #F4FCE0

Accessibility & contrast

On white

1.28
#CBF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#CBF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF171
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF171#FFFFFF#000000##000000
##CBF1711.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE465
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#D3E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf171;
/* rgb */ color: rgb(203, 241, 113);
/* oklch */ color: oklch(90.5% 0.161 123.3);
Tailwind
colors: {
  custom: {
    50: '#ddf59d',
    500: '#cbf171',
    950: '#000000',
  },
}
SCSS
$custom: #cbf171;
$custom-light: #ddf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf171",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 77.813,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90499,
    "c": 0.16063,
    "h": 123.3
  },
  "luminance": 0.76799
}

Semantic roles & 50–950 ramp

primary
#CBF171
secondary
#663CCA
accent
#07DE47
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF171

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

Preview Lab → · Contrast checker → · Palette generator →

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