#1F9331#1F9331

#1F9331 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.1% C 0.169 H 145.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1F9331
RGBrgb(31, 147, 49)
HSLhsl(129, 65%, 35%)
HSVhsv(129, 79%, 58%)
CMYKcmyk(78.9%, 0%, 66.7%, 42.4%)
CIE-LABlab(53.36, -51.30, 41.73)
CIE-LCHlch(53.36, 66.13, 140.87°)
OKLaboklab(58.1% -0.1384 0.0968)
OKLCHoklch(58.1% 0.169 145)
XYZxyz(11.5524, 21.3791, 6.4229)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9331 #931F81
analogous
#47931F #1F9331 #1F936B
triadic
#1F9331 #311F93 #93311F
tetradic
#1F9331 #1F4793 #931F81 #936B1F
square
#1F9331 #1F4793 #931F81 #936B1F
split-complementary
#1F9331 #6B1F93 #931F47
monochromatic
#0A2E0F #146020 #1F9331 #2AC642 #52DA67

Accessibility & contrast

On white

3.98
#1F9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#1F9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9331
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9331#FFFFFF#000000##000000
##1F93311.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#008F7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9331;
/* rgb */ color: rgb(31, 147, 49);
/* oklch */ color: oklch(58.1% 0.169 145.0);
Tailwind
colors: {
  custom: {
    50: '#70b46e',
    500: '#1f9331',
    950: '#000000',
  },
}
SCSS
$custom: #1f9331;
$custom-light: #70b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9331",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 129.31,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.16892,
    "h": 145
  },
  "luminance": 0.2138
}

Semantic roles & 50–950 ramp

primary
#1F9331
secondary
#BE50AD
accent
#40CEE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9331

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

Preview Lab → · Contrast checker → · Palette generator →

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