#1F702F#1F702F

#1F702F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.126 H 146.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#1F702F
RGBrgb(31, 112, 47)
HSLhsl(132, 57%, 28%)
HSVhsv(132, 72%, 44%)
CMYKcmyk(72.3%, 0%, 58%, 56.1%)
CIE-LABlab(41.35, -38.90, 28.92)
CIE-LCHlch(41.35, 48.48, 143.37°)
OKLaboklab(48.14% -0.1049 0.0691)
OKLCHoklch(48.14% 0.126 146.6)
XYZxyz(6.8718, 12.0841, 4.6591)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F702F #701F60
analogous
#37701F #1F702F #1F7057
triadic
#1F702F #2F1F70 #702F1F
tetradic
#1F702F #1F3770 #701F60 #70571F
square
#1F702F #1F3770 #701F60 #70571F
split-complementary
#1F702F #571F70 #701F37
monochromatic
#07180A #12401B #1F702F #2CA043 #3FCA5B

Accessibility & contrast

On white

6.15
#1F702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#1F702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F702F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F702F#FFFFFF#000000##FFFFFF
##1F702F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f702f;
/* rgb */ color: rgb(31, 112, 47);
/* oklch */ color: oklch(48.1% 0.126 146.6);
Tailwind
colors: {
  custom: {
    50: '#679a69',
    500: '#1f702f',
    950: '#000000',
  },
}
SCSS
$custom: #1f702f;
$custom-light: #679a69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f702f",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 131.852,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.12561,
    "h": 146.6
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#1F702F
secondary
#A44792
accent
#48C2E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F702F

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

Preview Lab → · Contrast checker → · Palette generator →

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