#1F8B37#1F8B37

#1F8B37 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.154 H 146.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F8B37
RGBrgb(31, 139, 55)
HSLhsl(133, 64%, 33%)
HSVhsv(133, 78%, 55%)
CMYKcmyk(77.7%, 0%, 60.4%, 45.5%)
CIE-LABlab(50.72, -47.79, 35.95)
CIE-LCHlch(50.72, 59.80, 143.05°)
OKLaboklab(55.93% -0.1287 0.085)
OKLCHoklch(55.93% 0.154 146.6)
XYZxyz(10.4865, 19.0311, 6.7344)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B37 #8B1F73
analogous
#3D8B1F #1F8B37 #1F8B6D
triadic
#1F8B37 #371F8B #8B371F
tetradic
#1F8B37 #1F3D8B #8B1F73 #8B6D1F
square
#1F8B37 #1F3D8B #8B1F73 #8B6D1F
split-complementary
#1F8B37 #6D1F8B #8B1F3D
monochromatic
#09270F #145923 #1F8B37 #2ABD4B #4DD76C

Accessibility & contrast

On white

4.37
#1F8B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#1F8B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B37
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B37#FFFFFF#000000##000000
##1F8B371.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#81753E
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b37;
/* rgb */ color: rgb(31, 139, 55);
/* oklch */ color: oklch(55.9% 0.154 146.6);
Tailwind
colors: {
  custom: {
    50: '#6dae71',
    500: '#1f8b37',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b37;
$custom-light: #6dae71;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b37",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 133.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.15423,
    "h": 146.6
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#1F8B37
secondary
#BA4CA2
accent
#41C2E7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8B37

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

Preview Lab → · Contrast checker → · Palette generator →

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