#1F9237#1F9237

#1F9237 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.9% C 0.163 H 146.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F9237
RGBrgb(31, 146, 55)
HSLhsl(133, 65%, 35%)
HSVhsv(133, 79%, 57%)
CMYKcmyk(78.8%, 0%, 62.3%, 42.7%)
CIE-LABlab(53.08, -50.24, 38.67)
CIE-LCHlch(53.08, 63.41, 142.41°)
OKLaboklab(57.89% -0.1353 0.0909)
OKLCHoklch(57.89% 0.163 146.1)
XYZxyz(11.5327, 21.1235, 7.0831)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9237 #921F7A
analogous
#40921F #1F9237 #1F9271
triadic
#1F9237 #371F92 #92371F
tetradic
#1F9237 #1F4092 #921F7A #92711F
square
#1F9237 #1F4092 #921F7A #92711F
split-complementary
#1F9237 #711F92 #921F40
monochromatic
#0A2D11 #146024 #1F9237 #2AC44A #51DA6E

Accessibility & contrast

On white

4.02
#1F9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#1F9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9237
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9237#FFFFFF#000000##000000
##1F92371.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842D
Deuteranopia (green-blind)
#877B3F
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9237;
/* rgb */ color: rgb(31, 146, 55);
/* oklch */ color: oklch(57.9% 0.163 146.1);
Tailwind
colors: {
  custom: {
    50: '#6fb371',
    500: '#1f9237',
    950: '#000000',
  },
}
SCSS
$custom: #1f9237;
$custom-light: #6fb371;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9237",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 132.522,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.16302,
    "h": 146.1
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#1F9237
secondary
#BD50A6
accent
#40C5E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F9237

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

Preview Lab → · Contrast checker → · Palette generator →

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