#1F703F#1F703F

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

Color values

HEX#1F703F
RGBrgb(31, 112, 63)
HSLhsl(144, 57%, 28%)
HSVhsv(144, 72%, 44%)
CMYKcmyk(72.3%, 0%, 43.7%, 56.1%)
CIE-LABlab(41.59, -36.13, 20.41)
CIE-LCHlch(41.59, 41.50, 150.54°)
OKLaboklab(48.42% -0.0974 0.0506)
OKLCHoklch(48.42% 0.11 152.6)
XYZxyz(7.2558, 12.2377, 6.6814)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F703F #701F50
analogous
#27701F #1F703F #1F7067
triadic
#1F703F #3F1F70 #703F1F
tetradic
#1F703F #1F2770 #701F50 #70671F
square
#1F703F #1F2770 #701F50 #70671F
split-complementary
#1F703F #671F70 #701F27
monochromatic
#07180D #124024 #1F703F #2CA05A #3FCA76

Accessibility & contrast

On white

6.09
#1F703F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F703F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F703F#FFFFFF#000000##FFFFFF
##1F703F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f703f;
/* rgb */ color: rgb(31, 112, 63);
/* oklch */ color: oklch(48.4% 0.110 152.6);
Tailwind
colors: {
  custom: {
    50: '#669a74',
    500: '#1f703f',
    950: '#000000',
  },
}
SCSS
$custom: #1f703f;
$custom-light: #669a74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f703f",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 63
  },
  "hsl": {
    "h": 143.704,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48417,
    "c": 0.10979,
    "h": 152.6
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#1F703F
secondary
#A4477F
accent
#48A4E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1F703F

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

Preview Lab → · Contrast checker → · Palette generator →

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