#1F702B#1F702B

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

Color values

HEX#1F702B
RGBrgb(31, 112, 43)
HSLhsl(129, 57%, 28%)
HSVhsv(129, 72%, 44%)
CMYKcmyk(72.3%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.30, -39.47, 30.93)
CIE-LCHlch(41.30, 50.15, 141.91°)
OKLaboklab(48.08% -0.1066 0.0731)
OKLCHoklch(48.08% 0.129 145.6)
XYZxyz(6.7948, 12.0533, 4.2535)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F702B #701F64
analogous
#3B701F #1F702B #1F7053
triadic
#1F702B #2B1F70 #702B1F
tetradic
#1F702B #1F3B70 #701F64 #70531F
square
#1F702B #1F3B70 #701F64 #70531F
split-complementary
#1F702B #531F70 #701F3B
monochromatic
#071809 #124019 #1F702B #2CA03D #3FCA54

Accessibility & contrast

On white

6.16
#1F702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F702B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F702B#FFFFFF#000000##FFFFFF
##1F702B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726524
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#016D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f702b;
/* rgb */ color: rgb(31, 112, 43);
/* oklch */ color: oklch(48.1% 0.129 145.6);
Tailwind
colors: {
  custom: {
    50: '#679a67',
    500: '#1f702b',
    950: '#000000',
  },
}
SCSS
$custom: #1f702b;
$custom-light: #679a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f702b",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 128.889,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.12926,
    "h": 145.6
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#1F702B
secondary
#A44796
accent
#48C9E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F702B

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

Preview Lab → · Contrast checker → · Palette generator →

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