#1F7136#1F7136

#1F7136 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.120 H 148.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F7136
RGBrgb(31, 113, 54)
HSLhsl(137, 57%, 28%)
HSVhsv(137, 73%, 44%)
CMYKcmyk(72.6%, 0%, 52.2%, 55.7%)
CIE-LABlab(41.79, -38.18, 25.71)
CIE-LCHlch(41.79, 46.03, 146.05°)
OKLaboklab(48.54% -0.1028 0.0624)
OKLCHoklch(48.54% 0.12 148.8)
XYZxyz(7.1355, 12.3671, 5.5004)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7136 #711F5A
analogous
#31711F #1F7136 #1F715F
triadic
#1F7136 #361F71 #71361F
tetradic
#1F7136 #1F3171 #711F5A #715F1F
square
#1F7136 #1F3171 #711F5A #715F1F
split-complementary
#1F7136 #5F1F71 #711F31
monochromatic
#07180B #12411F #1F7136 #2CA14D #40CB67

Accessibility & contrast

On white

6.05
#1F7136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#1F7136 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7136
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7136#FFFFFF#000000##FFFFFF
##1F71361.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726731
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f7136;
/* rgb */ color: rgb(31, 113, 54);
/* oklch */ color: oklch(48.5% 0.120 148.8);
Tailwind
colors: {
  custom: {
    50: '#679b6e',
    500: '#1f7136',
    950: '#000000',
  },
}
SCSS
$custom: #1f7136;
$custom-light: #679b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7136",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 54
  },
  "hsl": {
    "h": 136.829,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.12028,
    "h": 148.8
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#1F7136
secondary
#A5478B
accent
#48B5E0
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7136

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

Preview Lab → · Contrast checker → · Palette generator →

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