#1BB31F#1BB31F

#1BB31F is a light, highly saturated green. Relative luminance 0.326; OKLCH L 66.7% C 0.215 H 142.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1BB31F
RGBrgb(27, 179, 31)
HSLhsl(122, 74%, 40%)
HSVhsv(122, 85%, 70%)
CMYKcmyk(84.9%, 0%, 82.7%, 29.8%)
CIE-LABlab(63.81, -63.31, 58.66)
CIE-LCHlch(63.81, 86.31, 137.18°)
OKLaboklab(66.74% -0.1717 0.1299)
OKLCHoklch(66.74% 0.215 142.9)
XYZxyz(16.8183, 32.5700, 6.6963)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1BB31F #B31BAF
analogous
#63B31B #1BB31F #1BB36B
triadic
#1BB31F #1F1BB3 #B31F1B
tetradic
#1BB31F #1B63B3 #B31BAF #B36B1B
square
#1BB31F #1B63B3 #B31BAF #B36B1B
split-complementary
#1BB31F #6B1BB3 #B31B63
monochromatic
#0B490D #137E16 #1BB31F #2CDF31 #61E765

Accessibility & contrast

On white

2.79
#1BB31F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#1BB31F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1BB31F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1BB31F#FFFFFF#000000##000000
##1BB31F1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#00AE98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #1bb31f;
/* rgb */ color: rgb(27, 179, 31);
/* oklch */ color: oklch(66.7% 0.215 142.9);
Tailwind
colors: {
  custom: {
    50: '#78cb69',
    500: '#1bb31f',
    950: '#000000',
  },
}
SCSS
$custom: #1bb31f;
$custom-light: #78cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#1bb31f",
  "rgb": {
    "r": 27,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 121.579,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.2153,
    "h": 142.9
  },
  "luminance": 0.32572
}

Semantic roles & 50–950 ramp

primary
#1BB31F
secondary
#CC5EC9
accent
#37ECF0
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #1BB31F

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

Preview Lab → · Contrast checker → · Palette generator →

#1BB31F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva