#1F703E#1F703E

#1F703E is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.111 H 152.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1F703E
RGBrgb(31, 112, 62)
HSLhsl(143, 57%, 28%)
HSVhsv(143, 72%, 44%)
CMYKcmyk(72.3%, 0%, 44.6%, 56.1%)
CIE-LABlab(41.57, -36.33, 20.96)
CIE-LCHlch(41.57, 41.94, 150.02°)
OKLaboklab(48.4% -0.0979 0.0518)
OKLCHoklch(48.4% 0.111 152.1)
XYZxyz(7.2281, 12.2267, 6.5355)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F703E #701F51
analogous
#28701F #1F703E #1F7066
triadic
#1F703E #3E1F70 #703E1F
tetradic
#1F703E #1F2870 #701F51 #70661F
square
#1F703E #1F2870 #701F51 #70661F
split-complementary
#1F703E #661F70 #701F28
monochromatic
#07180D #124023 #1F703E #2CA059 #3FCA74

Accessibility & contrast

On white

6.10
#1F703E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1F703E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F703E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F703E#FFFFFF#000000##FFFFFF
##1F703E1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663A
Deuteranopia (green-blind)
#665F41
Tritanopia (blue-blind)
#006E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f703e;
/* rgb */ color: rgb(31, 112, 62);
/* oklch */ color: oklch(48.4% 0.111 152.1);
Tailwind
colors: {
  custom: {
    50: '#669a74',
    500: '#1f703e',
    950: '#000000',
  },
}
SCSS
$custom: #1f703e;
$custom-light: #669a74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f703e",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 62
  },
  "hsl": {
    "h": 142.963,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.1108,
    "h": 152.1
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#1F703E
secondary
#A44780
accent
#48A6E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1F703E

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

Preview Lab → · Contrast checker → · Palette generator →

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