#1F8A37#1F8A37

#1F8A37 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.153 H 146.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F8A37
RGBrgb(31, 138, 55)
HSLhsl(133, 63%, 33%)
HSVhsv(133, 78%, 54%)
CMYKcmyk(77.5%, 0%, 60.1%, 45.9%)
CIE-LABlab(50.38, -47.44, 35.55)
CIE-LCHlch(50.38, 59.28, 143.15°)
OKLaboklab(55.65% -0.1277 0.0842)
OKLCHoklch(55.65% 0.153 146.6)
XYZxyz(10.3424, 18.7429, 6.6864)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A37 #8A1F72
analogous
#3C8A1F #1F8A37 #1F8A6C
triadic
#1F8A37 #371F8A #8A371F
tetradic
#1F8A37 #1F3C8A #8A1F72 #8A6C1F
square
#1F8A37 #1F3C8A #8A1F72 #8A6C1F
split-complementary
#1F8A37 #6C1F8A #8A1F3C
monochromatic
#09260F #145823 #1F8A37 #2ABC4B #4CD76C

Accessibility & contrast

On white

4.42
#1F8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1F8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A37
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A37#FFFFFF#000000##000000
##1F8A371.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2F
Deuteranopia (green-blind)
#80753E
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a37;
/* rgb */ color: rgb(31, 138, 55);
/* oklch */ color: oklch(55.7% 0.153 146.6);
Tailwind
colors: {
  custom: {
    50: '#6dad70',
    500: '#1f8a37',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a37;
$custom-light: #6dad70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a37",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 133.458,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.15296,
    "h": 146.6
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#1F8A37
secondary
#BA4BA1
accent
#41C1E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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