#1F8936#1F8936

#1F8936 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.153 H 146.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F8936
RGBrgb(31, 137, 54)
HSLhsl(133, 63%, 33%)
HSVhsv(133, 77%, 54%)
CMYKcmyk(77.4%, 0%, 60.6%, 46.3%)
CIE-LABlab(50.03, -47.21, 35.63)
CIE-LCHlch(50.03, 59.15, 142.96°)
OKLaboklab(55.36% -0.1272 0.0842)
OKLCHoklch(55.36% 0.153 146.5)
XYZxyz(10.1758, 18.4478, 6.5138)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8936 #891F72
analogous
#3D891F #1F8936 #1F896B
triadic
#1F8936 #361F89 #89361F
tetradic
#1F8936 #1F3D89 #891F72 #896B1F
square
#1F8936 #1F3D89 #891F72 #896B1F
split-complementary
#1F8936 #6B1F89 #891F3D
monochromatic
#08250F #145722 #1F8936 #2ABB4A #4CD66A

Accessibility & contrast

On white

4.48
#1F8936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#1F8936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8936
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8936#FFFFFF#000000##000000
##1F89361.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2D
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8936;
/* rgb */ color: rgb(31, 137, 54);
/* oklch */ color: oklch(55.4% 0.153 146.5);
Tailwind
colors: {
  custom: {
    50: '#6dac70',
    500: '#1f8936',
    950: '#000000',
  },
}
SCSS
$custom: #1f8936;
$custom-light: #6dac70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8936",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 54
  },
  "hsl": {
    "h": 133.019,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.15253,
    "h": 146.5
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#1F8936
secondary
#B94BA1
accent
#42C2E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8936

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

Preview Lab → · Contrast checker → · Palette generator →

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