#CBF271#CBF271

#CBF271 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.7% C 0.162 H 123.6°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#CBF271
RGBrgb(203, 242, 113)
HSLhsl(78, 83%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(16.1%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.50, -31.67, 57.31)
CIE-LCHlch(90.50, 65.48, 118.93°)
OKLaboklab(90.72% -0.0896 0.1349)
OKLCHoklch(90.72% 0.162 123.6)
XYZxyz(59.3616, 77.3927, 27.4305)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF271 #9871F2
analogous
#F2D971 #CBF271 #8AF271
triadic
#CBF271 #71CBF2 #F271CB
tetradic
#CBF271 #71F2D9 #9871F2 #F2718A
square
#CBF271 #71F2D9 #9871F2 #F2718A
split-complementary
#CBF271 #718AF2 #D971F2
monochromatic
#9BD514 #B6ED39 #CBF271 #E0F7A9 #F4FCE1

Accessibility & contrast

On white

1.27
#CBF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#CBF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF271
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF271#FFFFFF#000000##000000
##CBF2711.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#D3E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cbf271;
/* rgb */ color: rgb(203, 242, 113);
/* oklch */ color: oklch(90.7% 0.162 123.6);
Tailwind
colors: {
  custom: {
    50: '#ddf69d',
    500: '#cbf271',
    950: '#000000',
  },
}
SCSS
$custom: #cbf271;
$custom-light: #ddf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf271",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 78.14,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90719,
    "c": 0.16192,
    "h": 123.6
  },
  "luminance": 0.77393
}

Semantic roles & 50–950 ramp

primary
#CBF271
secondary
#673CCB
accent
#06E048
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF271

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

Preview Lab → · Contrast checker → · Palette generator →

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