#1F831E#1F831E

#1F831E is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.163 H 142.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F831E
RGBrgb(31, 131, 30)
HSLhsl(119, 63%, 32%)
HSVhsv(119, 77%, 51%)
CMYKcmyk(76.3%, 0%, 77.1%, 48.6%)
CIE-LABlab(47.77, -47.71, 43.66)
CIE-LCHlch(47.77, 64.67, 137.54°)
OKLaboklab(53.41% -0.1295 0.0985)
OKLCHoklch(53.41% 0.163 142.8)
XYZxyz(8.9152, 16.6166, 3.9655)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F831E #821E83
analogous
#52831E #1F831E #1E8350
triadic
#1F831E #1E1F83 #831E1F
tetradic
#1F831E #1E5283 #821E83 #83501E
square
#1F831E #1E5283 #821E83 #83501E
split-complementary
#1F831E #501E83 #831E52
monochromatic
#071F07 #135113 #1F831E #2BB529 #48D547

Accessibility & contrast

On white

4.86
#1F831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1F831E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F831E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F831E#FFFFFF#000000##FFFFFF
##1F831E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f831e;
/* rgb */ color: rgb(31, 131, 30);
/* oklch */ color: oklch(53.4% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da861',
    500: '#1f831e',
    950: '#000000',
  },
}
SCSS
$custom: #1f831e;
$custom-light: #6da861;
$custom-dark: #000000;
JSON
{
  "hex": "#1f831e",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 119.406,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.16272,
    "h": 142.8
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#1F831E
secondary
#B547B6
accent
#42E6E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F831E

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

Preview Lab → · Contrast checker → · Palette generator →

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