#1F8931#1F8931

#1F8931 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.157 H 145.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F8931
RGBrgb(31, 137, 49)
HSLhsl(130, 63%, 33%)
HSVhsv(130, 77%, 54%)
CMYKcmyk(77.4%, 0%, 64.2%, 46.3%)
CIE-LABlab(49.98, -47.85, 37.96)
CIE-LCHlch(49.98, 61.09, 141.57°)
OKLaboklab(55.3% -0.1291 0.0888)
OKLCHoklch(55.3% 0.157 145.5)
XYZxyz(10.0644, 18.4032, 5.9269)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8931 #891F77
analogous
#42891F #1F8931 #1F8966
triadic
#1F8931 #311F89 #89311F
tetradic
#1F8931 #1F4289 #891F77 #89661F
square
#1F8931 #1F4289 #891F77 #89661F
split-complementary
#1F8931 #661F89 #891F42
monochromatic
#08250D #14571F #1F8931 #2ABB43 #4CD663

Accessibility & contrast

On white

4.49
#1F8931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#1F8931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8931
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8931#FFFFFF#000000##000000
##1F89311.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C27
Deuteranopia (green-blind)
#7F7439
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8931;
/* rgb */ color: rgb(31, 137, 49);
/* oklch */ color: oklch(55.3% 0.157 145.5);
Tailwind
colors: {
  custom: {
    50: '#6dac6d',
    500: '#1f8931',
    950: '#000000',
  },
}
SCSS
$custom: #1f8931;
$custom-light: #6dac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8931",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 49
  },
  "hsl": {
    "h": 130.189,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.15666,
    "h": 145.5
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#1F8931
secondary
#B94BA6
accent
#42CAE6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8931

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

Preview Lab → · Contrast checker → · Palette generator →

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