#1F7436#1F7436

#1F7436 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.124 H 148.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F7436
RGBrgb(31, 116, 54)
HSLhsl(136, 58%, 29%)
HSVhsv(136, 73%, 45%)
CMYKcmyk(73.3%, 0%, 53.4%, 54.5%)
CIE-LABlab(42.83, -39.37, 27.00)
CIE-LCHlch(42.83, 47.74, 145.56°)
OKLaboklab(49.4% -0.106 0.0653)
OKLCHoklch(49.4% 0.125 148.4)
XYZxyz(7.4757, 13.0476, 5.6138)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7436 #741F5D
analogous
#33741F #1F7436 #1F7461
triadic
#1F7436 #361F74 #74361F
tetradic
#1F7436 #1F3374 #741F5D #74611F
square
#1F7436 #1F3374 #741F5D #74611F
split-complementary
#1F7436 #611F74 #741F33
monochromatic
#06180B #124420 #1F7436 #2CA44C #41CC67

Accessibility & contrast

On white

5.82
#1F7436 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F7436 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7436
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7436#FFFFFF#000000##FFFFFF
##1F74361.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756931
Deuteranopia (green-blind)
#6B623B
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7436;
/* rgb */ color: rgb(31, 116, 54);
/* oklch */ color: oklch(49.4% 0.124 148.4);
Tailwind
colors: {
  custom: {
    50: '#689d6e',
    500: '#1f7436',
    950: '#000000',
  },
}
SCSS
$custom: #1f7436;
$custom-light: #689d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7436",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 54
  },
  "hsl": {
    "h": 136.235,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.1245,
    "h": 148.4
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#1F7436
secondary
#A8478E
accent
#47B7E1
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7436

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

Preview Lab → · Contrast checker → · Palette generator →

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