#1F8737#1F8737

#1F8737 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.149 H 146.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F8737
RGBrgb(31, 135, 55)
HSLhsl(134, 63%, 33%)
HSVhsv(134, 77%, 53%)
CMYKcmyk(77%, 0%, 59.3%, 47.1%)
CIE-LABlab(49.37, -46.36, 34.36)
CIE-LCHlch(49.37, 57.70, 143.46°)
OKLaboklab(54.81% -0.1248 0.0816)
OKLCHoklch(54.81% 0.149 146.8)
XYZxyz(9.9179, 17.8939, 6.5449)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8737 #871F6F
analogous
#3B871F #1F8737 #1F876B
triadic
#1F8737 #371F87 #87371F
tetradic
#1F8737 #1F3B87 #871F6F #876B1F
square
#1F8737 #1F3B87 #871F6F #876B1F
split-complementary
#1F8737 #6B1F87 #871F3B
monochromatic
#08230E #145523 #1F8737 #2AB94B #4BD66B

Accessibility & contrast

On white

4.59
#1F8737 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F8737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8737
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8737#FFFFFF#000000##FFFFFF
##1F87371.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A2F
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8737;
/* rgb */ color: rgb(31, 135, 55);
/* oklch */ color: oklch(54.8% 0.149 146.8);
Tailwind
colors: {
  custom: {
    50: '#6cab70',
    500: '#1f8737',
    950: '#000000',
  },
}
SCSS
$custom: #1f8737;
$custom-light: #6cab70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8737",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 133.846,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.1491,
    "h": 146.8
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#1F8737
secondary
#B84A9F
accent
#42C0E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8737

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

Preview Lab → · Contrast checker → · Palette generator →

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