#1F7D37#1F7D37

#1F7D37 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.136 H 147.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7D37
RGBrgb(31, 125, 55)
HSLhsl(135, 60%, 31%)
HSVhsv(135, 75%, 49%)
CMYKcmyk(75.2%, 0%, 56%, 51%)
CIE-LABlab(45.95, -42.67, 30.28)
CIE-LCHlch(45.95, 52.33, 144.64°)
OKLaboklab(51.98% -0.1149 0.0726)
OKLCHoklch(51.98% 0.136 147.7)
XYZxyz(8.5876, 15.2334, 6.1014)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D37 #7D1F65
analogous
#367D1F #1F7D37 #1F7D66
triadic
#1F7D37 #371F7D #7D371F
tetradic
#1F7D37 #1F367D #7D1F65 #7D661F
square
#1F7D37 #1F367D #7D1F65 #7D661F
split-complementary
#1F7D37 #661F7D #7D1F36
monochromatic
#071B0C #134C21 #1F7D37 #2BAE4D #45D169

Accessibility & contrast

On white

5.19
#1F7D37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1F7D37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D37
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D37#FFFFFF#000000##FFFFFF
##1F7D371.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7131
Deuteranopia (green-blind)
#736A3C
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d37;
/* rgb */ color: rgb(31, 125, 55);
/* oklch */ color: oklch(52.0% 0.136 147.7);
Tailwind
colors: {
  custom: {
    50: '#6aa470',
    500: '#1f7d37',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d37;
$custom-light: #6aa470;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d37",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 135.319,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.1359,
    "h": 147.7
  },
  "luminance": 0.15234
}

Semantic roles & 50–950 ramp

primary
#1F7D37
secondary
#B04895
accent
#44BBE3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1F7D37

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

Preview Lab → · Contrast checker → · Palette generator →

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