#1F9131#1F9131

#1F9131 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.5% C 0.167 H 145.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F9131
RGBrgb(31, 145, 49)
HSLhsl(129, 65%, 35%)
HSVhsv(129, 79%, 57%)
CMYKcmyk(78.6%, 0%, 66.2%, 43.1%)
CIE-LABlab(52.69, -50.62, 40.99)
CIE-LCHlch(52.69, 65.14, 141.00°)
OKLaboklab(57.54% -0.1366 0.0952)
OKLCHoklch(57.54% 0.167 145.1)
XYZxyz(11.2441, 20.7625, 6.3201)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9131 #911F7F
analogous
#46911F #1F9131 #1F916A
triadic
#1F9131 #311F91 #91311F
tetradic
#1F9131 #1F4691 #911F7F #916A1F
square
#1F9131 #1F4691 #911F7F #916A1F
split-complementary
#1F9131 #6A1F91 #911F46
monochromatic
#092C0F #145F20 #1F9131 #2AC342 #51DA66

Accessibility & contrast

On white

4.08
#1F9131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#1F9131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9131
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9131#FFFFFF#000000##000000
##1F91311.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938325
Deuteranopia (green-blind)
#877A3A
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9131;
/* rgb */ color: rgb(31, 145, 49);
/* oklch */ color: oklch(57.5% 0.167 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fb26d',
    500: '#1f9131',
    950: '#000000',
  },
}
SCSS
$custom: #1f9131;
$custom-light: #6fb26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9131",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 129.474,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.1665,
    "h": 145.1
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#1F9131
secondary
#BD4FAB
accent
#40CDE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9131

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

Preview Lab → · Contrast checker → · Palette generator →

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