#1F8837#1F8837

#1F8837 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.150 H 146.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F8837
RGBrgb(31, 136, 55)
HSLhsl(134, 63%, 33%)
HSVhsv(134, 77%, 53%)
CMYKcmyk(77.2%, 0%, 59.6%, 46.7%)
CIE-LABlab(49.71, -46.72, 34.76)
CIE-LCHlch(49.71, 58.23, 143.35°)
OKLaboklab(55.09% -0.1258 0.0824)
OKLCHoklch(55.09% 0.15 146.8)
XYZxyz(10.0581, 18.1743, 6.5916)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8837 #881F70
analogous
#3C881F #1F8837 #1F886B
triadic
#1F8837 #371F88 #88371F
tetradic
#1F8837 #1F3C88 #881F70 #886B1F
square
#1F8837 #1F3C88 #881F70 #886B1F
split-complementary
#1F8837 #6B1F88 #881F3C
monochromatic
#08240F #145623 #1F8837 #2ABA4B #4BD66B

Accessibility & contrast

On white

4.53
#1F8837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#1F8837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8837
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8837#FFFFFF#000000##000000
##1F88371.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2F
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8837;
/* rgb */ color: rgb(31, 136, 55);
/* oklch */ color: oklch(55.1% 0.150 146.8);
Tailwind
colors: {
  custom: {
    50: '#6dac70',
    500: '#1f8837',
    950: '#000000',
  },
}
SCSS
$custom: #1f8837;
$custom-light: #6dac70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8837",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 133.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.15039,
    "h": 146.8
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8837

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

Preview Lab → · Contrast checker → · Palette generator →

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