#1F8D37#1F8D37

#1F8D37 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.157 H 146.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8D37
RGBrgb(31, 141, 55)
HSLhsl(133, 64%, 34%)
HSVhsv(133, 78%, 55%)
CMYKcmyk(78%, 0%, 61%, 44.7%)
CIE-LABlab(51.40, -48.50, 36.73)
CIE-LCHlch(51.40, 60.84, 142.86°)
OKLaboklab(56.49% -0.1306 0.0867)
OKLCHoklch(56.49% 0.157 146.4)
XYZxyz(10.7787, 19.6156, 6.8318)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D37 #8D1F75
analogous
#3E8D1F #1F8D37 #1F8D6E
triadic
#1F8D37 #371F8D #8D371F
tetradic
#1F8D37 #1F3E8D #8D1F75 #8D6E1F
square
#1F8D37 #1F3E8D #8D1F75 #8D6E1F
split-complementary
#1F8D37 #6E1F8D #8D1F3E
monochromatic
#092910 #145B23 #1F8D37 #2ABF4B #4ED86C

Accessibility & contrast

On white

4.27
#1F8D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F8D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D37
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D37#FFFFFF#000000##000000
##1F8D371.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d37;
/* rgb */ color: rgb(31, 141, 55);
/* oklch */ color: oklch(56.5% 0.157 146.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf71',
    500: '#1f8d37',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d37;
$custom-light: #6eaf71;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d37",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 133.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.15676,
    "h": 146.4
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#1F8D37
secondary
#BB4DA3
accent
#41C3E7
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8D37

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

Preview Lab → · Contrast checker → · Palette generator →

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