#1F7D36#1F7D36

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

Color values

HEX#1F7D36
RGBrgb(31, 125, 54)
HSLhsl(135, 60%, 31%)
HSVhsv(135, 75%, 49%)
CMYKcmyk(75.2%, 0%, 56.8%, 51%)
CIE-LABlab(45.94, -42.83, 30.78)
CIE-LCHlch(45.94, 52.74, 144.29°)
OKLaboklab(51.97% -0.1153 0.0737)
OKLCHoklch(51.97% 0.137 147.4)
XYZxyz(8.5639, 15.2239, 5.9765)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D36 #7D1F66
analogous
#377D1F #1F7D36 #1F7D65
triadic
#1F7D36 #361F7D #7D361F
tetradic
#1F7D36 #1F377D #7D1F66 #7D651F
square
#1F7D36 #1F377D #7D1F66 #7D651F
split-complementary
#1F7D36 #651F7D #7D1F37
monochromatic
#071B0C #134C21 #1F7D36 #2BAE4B #45D168

Accessibility & contrast

On white

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

On black

4.04
#1F7D36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7D36#FFFFFF#000000##FFFFFF
##1F7D361.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712F
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d36;
/* rgb */ color: rgb(31, 125, 54);
/* oklch */ color: oklch(52.0% 0.137 147.4);
Tailwind
colors: {
  custom: {
    50: '#6aa46f',
    500: '#1f7d36',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d36;
$custom-light: #6aa46f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d36",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 134.681,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.13683,
    "h": 147.4
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#1F7D36
secondary
#B04897
accent
#44BCE3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1F7D36

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

Preview Lab → · Contrast checker → · Palette generator →

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