#1F702D#1F702D

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

Color values

HEX#1F702D
RGBrgb(31, 112, 45)
HSLhsl(130, 57%, 28%)
HSVhsv(130, 72%, 44%)
CMYKcmyk(72.3%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.32, -39.19, 29.94)
CIE-LCHlch(41.32, 49.32, 142.63°)
OKLaboklab(48.11% -0.1058 0.0711)
OKLCHoklch(48.11% 0.127 146.1)
XYZxyz(6.8324, 12.0684, 4.4515)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F702D #701F62
analogous
#3A701F #1F702D #1F7055
triadic
#1F702D #2D1F70 #702D1F
tetradic
#1F702D #1F3A70 #701F62 #70551F
square
#1F702D #1F3A70 #701F62 #70551F
split-complementary
#1F702D #551F70 #701F3A
monochromatic
#07180A #12401A #1F702D #2CA040 #3FCA57

Accessibility & contrast

On white

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

On black

3.41
#1F702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F702D#FFFFFF#000000##FFFFFF
##1F702D1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726626
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f702d;
/* rgb */ color: rgb(31, 112, 45);
/* oklch */ color: oklch(48.1% 0.127 146.1);
Tailwind
colors: {
  custom: {
    50: '#679a68',
    500: '#1f702d',
    950: '#000000',
  },
}
SCSS
$custom: #1f702d;
$custom-light: #679a68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f702d",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 130.37,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.12745,
    "h": 146.1
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#1F702D
secondary
#A44794
accent
#48C6E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F702D

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

Preview Lab → · Contrast checker → · Palette generator →

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