#1F9B2B#1F9B2B

#1F9B2B is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.3% C 0.182 H 144.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F9B2B
RGBrgb(31, 155, 43)
HSLhsl(126, 67%, 36%)
HSVhsv(126, 80%, 61%)
CMYKcmyk(80%, 0%, 72.3%, 39.2%)
CIE-LABlab(55.99, -54.56, 47.06)
CIE-LCHlch(55.99, 72.05, 139.22°)
OKLaboklab(60.27% -0.1475 0.1073)
OKLCHoklch(60.27% 0.182 144)
XYZxyz(12.7216, 23.9069, 6.2291)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B2B #9B1F8F
analogous
#519B1F #1F9B2B #1F9B69
triadic
#1F9B2B #2B1F9B #9B2B1F
tetradic
#1F9B2B #1F519B #9B1F8F #9B691F
square
#1F9B2B #1F519B #9B1F8F #9B691F
split-complementary
#1F9B2B #691F9B #9B1F51
monochromatic
#0B350F #15681D #1F9B2B #29CE39 #57DD64

Accessibility & contrast

On white

3.63
#1F9B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#1F9B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B2B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B2B#FFFFFF#000000##000000
##1F9B2B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C19
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b2b;
/* rgb */ color: rgb(31, 155, 43);
/* oklch */ color: oklch(60.3% 0.182 144.0);
Tailwind
colors: {
  custom: {
    50: '#72ba6b',
    500: '#1f9b2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b2b;
$custom-light: #72ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b2b",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 125.806,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.18245,
    "h": 144
  },
  "luminance": 0.23908
}

Semantic roles & 50–950 ramp

primary
#1F9B2B
secondary
#C155B7
accent
#3ED9EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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