#1F742E#1F742E

#1F742E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.132 H 146.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#1F742E
RGBrgb(31, 116, 46)
HSLhsl(131, 58%, 29%)
HSVhsv(131, 73%, 45%)
CMYKcmyk(73.3%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.73, -40.58, 31.08)
CIE-LCHlch(42.73, 51.12, 142.55°)
OKLaboklab(49.28% -0.1095 0.0737)
OKLCHoklch(49.28% 0.132 146.1)
XYZxyz(7.3031, 12.9785, 4.7045)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F742E #741F65
analogous
#3B741F #1F742E #1F7459
triadic
#1F742E #2E1F74 #742E1F
tetradic
#1F742E #1F3B74 #741F65 #74591F
square
#1F742E #1F3B74 #741F65 #74591F
split-complementary
#1F742E #591F74 #741F3B
monochromatic
#06180A #12441B #1F742E #2CA441 #41CC5A

Accessibility & contrast

On white

5.84
#1F742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1F742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F742E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F742E#FFFFFF#000000##FFFFFF
##1F742E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f742e;
/* rgb */ color: rgb(31, 116, 46);
/* oklch */ color: oklch(49.3% 0.132 146.1);
Tailwind
colors: {
  custom: {
    50: '#689d69',
    500: '#1f742e',
    950: '#000000',
  },
}
SCSS
$custom: #1f742e;
$custom-light: #689d69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f742e",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 130.588,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.13198,
    "h": 146.1
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#1F742E
secondary
#A84797
accent
#47C6E1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F742E

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

Preview Lab → · Contrast checker → · Palette generator →

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