#1F8631#1F8631

#1F8631 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.153 H 145.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8631
RGBrgb(31, 134, 49)
HSLhsl(130, 62%, 32%)
HSVhsv(130, 77%, 53%)
CMYKcmyk(76.9%, 0%, 63.4%, 47.5%)
CIE-LABlab(48.96, -46.80, 36.81)
CIE-LCHlch(48.96, 59.54, 141.81°)
OKLaboklab(54.45% -0.1262 0.0863)
OKLCHoklch(54.45% 0.153 145.6)
XYZxyz(9.6439, 17.5621, 5.7867)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8631 #861F74
analogous
#41861F #1F8631 #1F8664
triadic
#1F8631 #311F86 #86311F
tetradic
#1F8631 #1F4186 #861F74 #86641F
square
#1F8631 #1F4186 #861F74 #86641F
split-complementary
#1F8631 #641F86 #861F41
monochromatic
#08230D #14541F #1F8631 #2AB843 #4AD563

Accessibility & contrast

On white

4.65
#1F8631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F8631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8631
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8631#FFFFFF#000000##FFFFFF
##1F86311.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8631;
/* rgb */ color: rgb(31, 134, 49);
/* oklch */ color: oklch(54.4% 0.153 145.6);
Tailwind
colors: {
  custom: {
    50: '#6caa6c',
    500: '#1f8631',
    950: '#000000',
  },
}
SCSS
$custom: #1f8631;
$custom-light: #6caa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8631",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 130.485,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.15289,
    "h": 145.6
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#1F8631
secondary
#B849A4
accent
#42C9E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8631

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

Preview Lab → · Contrast checker → · Palette generator →

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