#1F8237#1F8237

#1F8237 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.143 H 147.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8237
RGBrgb(31, 130, 55)
HSLhsl(135, 61%, 32%)
HSVhsv(135, 76%, 51%)
CMYKcmyk(76.2%, 0%, 57.7%, 49%)
CIE-LABlab(47.66, -44.54, 32.34)
CIE-LCHlch(47.66, 55.04, 144.02°)
OKLaboklab(53.4% -0.1199 0.0771)
OKLCHoklch(53.4% 0.143 147.2)
XYZxyz(9.2366, 16.5313, 6.3178)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8237 #821F6A
analogous
#39821F #1F8237 #1F8269
triadic
#1F8237 #371F82 #82371F
tetradic
#1F8237 #1F3982 #821F6A #82691F
square
#1F8237 #1F3982 #821F6A #82691F
split-complementary
#1F8237 #691F82 #821F39
monochromatic
#071F0D #135122 #1F8237 #2BB34C #48D36A

Accessibility & contrast

On white

4.88
#1F8237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1F8237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8237
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8237#FFFFFF#000000##FFFFFF
##1F82371.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8237;
/* rgb */ color: rgb(31, 130, 55);
/* oklch */ color: oklch(53.4% 0.143 147.2);
Tailwind
colors: {
  custom: {
    50: '#6ba770',
    500: '#1f8237',
    950: '#000000',
  },
}
SCSS
$custom: #1f8237;
$custom-light: #6ba770;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8237",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 134.545,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.14257,
    "h": 147.2
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#1F8237
secondary
#B5489A
accent
#43BDE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8237

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

Preview Lab → · Contrast checker → · Palette generator →

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