#1F9031#1F9031

#1F9031 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.165 H 145.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F9031
RGBrgb(31, 144, 49)
HSLhsl(130, 65%, 34%)
HSVhsv(130, 78%, 56%)
CMYKcmyk(78.5%, 0%, 66%, 43.5%)
CIE-LABlab(52.35, -50.28, 40.62)
CIE-LCHlch(52.35, 64.64, 141.07°)
OKLaboklab(57.26% -0.1356 0.0944)
OKLCHoklch(57.26% 0.165 145.2)
XYZxyz(11.0919, 20.4583, 6.2694)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9031 #901F7E
analogous
#45901F #1F9031 #1F906A
triadic
#1F9031 #311F90 #90311F
tetradic
#1F9031 #1F4590 #901F7E #906A1F
square
#1F9031 #1F4590 #901F7E #906A1F
split-complementary
#1F9031 #6A1F90 #901F45
monochromatic
#092B0F #145E20 #1F9031 #2AC242 #50D966

Accessibility & contrast

On white

4.12
#1F9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#1F9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9031
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9031#FFFFFF#000000##000000
##1F90311.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928225
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9031;
/* rgb */ color: rgb(31, 144, 49);
/* oklch */ color: oklch(57.3% 0.165 145.2);
Tailwind
colors: {
  custom: {
    50: '#6fb26d',
    500: '#1f9031',
    950: '#000000',
  },
}
SCSS
$custom: #1f9031;
$custom-light: #6fb26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9031",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 129.558,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57263,
    "c": 0.16529,
    "h": 145.2
  },
  "luminance": 0.2046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9031

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

Preview Lab → · Contrast checker → · Palette generator →

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