#1F7B41#1F7B41

#1F7B41 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.124 H 151.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F7B41
RGBrgb(31, 123, 65)
HSLhsl(142, 60%, 30%)
HSVhsv(142, 75%, 48%)
CMYKcmyk(74.8%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.41, -40.22, 24.22)
CIE-LCHlch(45.41, 46.95, 148.94°)
OKLaboklab(51.58% -0.1083 0.0595)
OKLCHoklch(51.58% 0.124 151.2)
XYZxyz(8.6014, 14.8379, 7.4107)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B41 #7B1F59
analogous
#2B7B1F #1F7B41 #1F7B6F
triadic
#1F7B41 #411F7B #7B411F
tetradic
#1F7B41 #1F2B7B #7B1F59 #7B6F1F
square
#1F7B41 #1F2B7B #7B1F59 #7B6F1F
split-complementary
#1F7B41 #6F1F7B #7B1F2B
monochromatic
#06190D #134A27 #1F7B41 #2BAC5B #44D078

Accessibility & contrast

On white

5.29
#1F7B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1F7B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B41
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B41#FFFFFF#000000##FFFFFF
##1F7B411.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7b41;
/* rgb */ color: rgb(31, 123, 65);
/* oklch */ color: oklch(51.6% 0.124 151.2);
Tailwind
colors: {
  custom: {
    50: '#69a276',
    500: '#1f7b41',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b41;
$custom-light: #69a276;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b41",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 142.174,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.12353,
    "h": 151.2
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#1F7B41
secondary
#AE4888
accent
#45A9E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F7B41

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

Preview Lab → · Contrast checker → · Palette generator →

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