#1F8537#1F8537

#1F8537 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.146 H 147.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F8537
RGBrgb(31, 133, 55)
HSLhsl(134, 62%, 32%)
HSVhsv(134, 77%, 52%)
CMYKcmyk(76.7%, 0%, 58.6%, 47.8%)
CIE-LABlab(48.69, -45.64, 33.55)
CIE-LCHlch(48.69, 56.64, 143.67°)
OKLaboklab(54.25% -0.1229 0.0798)
OKLCHoklch(54.25% 0.147 147)
XYZxyz(9.6415, 17.3411, 6.4527)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8537 #851F6D
analogous
#3A851F #1F8537 #1F856A
triadic
#1F8537 #371F85 #85371F
tetradic
#1F8537 #1F3A85 #851F6D #856A1F
square
#1F8537 #1F3A85 #851F6D #856A1F
split-complementary
#1F8537 #6A1F85 #851F3A
monochromatic
#08220E #135322 #1F8537 #2BB74C #4AD56A

Accessibility & contrast

On white

4.70
#1F8537 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F8537 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8537
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8537#FFFFFF#000000##FFFFFF
##1F85371.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792F
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8537;
/* rgb */ color: rgb(31, 133, 55);
/* oklch */ color: oklch(54.2% 0.146 147.0);
Tailwind
colors: {
  custom: {
    50: '#6ca970',
    500: '#1f8537',
    950: '#000000',
  },
}
SCSS
$custom: #1f8537;
$custom-light: #6ca970;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8537",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 134.118,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.1465,
    "h": 147
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#1F8537
secondary
#B7499D
accent
#43BFE5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8537

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

Preview Lab → · Contrast checker → · Palette generator →

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