#1F8031#1F8031

#1F8031 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.145 H 146.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F8031
RGBrgb(31, 128, 49)
HSLhsl(131, 61%, 31%)
HSVhsv(131, 76%, 50%)
CMYKcmyk(75.8%, 0%, 61.7%, 49.8%)
CIE-LABlab(46.91, -44.64, 34.45)
CIE-LCHlch(46.91, 56.39, 142.34°)
OKLaboklab(52.75% -0.1204 0.0813)
OKLCHoklch(52.75% 0.145 146)
XYZxyz(8.8380, 15.9504, 5.5181)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8031 #801F6E
analogous
#3D801F #1F8031 #1F8061
triadic
#1F8031 #311F80 #80311F
tetradic
#1F8031 #1F3D80 #801F6E #80611F
square
#1F8031 #1F3D80 #801F6E #80611F
split-complementary
#1F8031 #611F80 #801F3D
monochromatic
#071D0B #134F1E #1F8031 #2BB144 #47D261

Accessibility & contrast

On white

5.01
#1F8031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F8031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8031
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8031#FFFFFF#000000##FFFFFF
##1F80311.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8031;
/* rgb */ color: rgb(31, 128, 49);
/* oklch */ color: oklch(52.7% 0.145 146.0);
Tailwind
colors: {
  custom: {
    50: '#6ba66c',
    500: '#1f8031',
    950: '#000000',
  },
}
SCSS
$custom: #1f8031;
$custom-light: #6ba66c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8031",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 131.134,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.14522,
    "h": 146
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#1F8031
secondary
#B3489F
accent
#44C6E4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1F8031

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

Preview Lab → · Contrast checker → · Palette generator →

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