#1F9037#1F9037

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

Color values

HEX#1F9037
RGBrgb(31, 144, 55)
HSLhsl(133, 65%, 34%)
HSVhsv(133, 78%, 56%)
CMYKcmyk(78.5%, 0%, 61.8%, 43.5%)
CIE-LABlab(52.41, -49.55, 37.90)
CIE-LCHlch(52.41, 62.38, 142.59°)
OKLaboklab(57.33% -0.1335 0.0892)
OKLCHoklch(57.33% 0.161 146.2)
XYZxyz(11.2271, 20.5123, 6.9813)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9037 #901F78
analogous
#40901F #1F9037 #1F9070
triadic
#1F9037 #371F90 #90371F
tetradic
#1F9037 #1F4090 #901F78 #90701F
square
#1F9037 #1F4090 #901F78 #90701F
split-complementary
#1F9037 #701F90 #901F40
monochromatic
#092B11 #145E24 #1F9037 #2AC24A #50D96D

Accessibility & contrast

On white

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

On black

5.10
#1F9037 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9037
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9037#FFFFFF#000000##000000
##1F90371.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822D
Deuteranopia (green-blind)
#857A3E
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9037;
/* rgb */ color: rgb(31, 144, 55);
/* oklch */ color: oklch(57.3% 0.161 146.2);
Tailwind
colors: {
  custom: {
    50: '#6fb271',
    500: '#1f9037',
    950: '#000000',
  },
}
SCSS
$custom: #1f9037;
$custom-light: #6fb271;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9037",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 55
  },
  "hsl": {
    "h": 132.743,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.16053,
    "h": 146.2
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#1F9037
secondary
#BC4EA5
accent
#40C4E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F9037

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

Preview Lab → · Contrast checker → · Palette generator →

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