#1F702E#1F702E

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

Color values

HEX#1F702E
RGBrgb(31, 112, 46)
HSLhsl(131, 57%, 28%)
HSVhsv(131, 72%, 44%)
CMYKcmyk(72.3%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.34, -39.05, 29.43)
CIE-LCHlch(41.34, 48.90, 142.99°)
OKLaboklab(48.12% -0.1053 0.0701)
OKLCHoklch(48.12% 0.127 146.4)
XYZxyz(6.8519, 12.0762, 4.5541)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F702E #701F61
analogous
#38701F #1F702E #1F7056
triadic
#1F702E #2E1F70 #702E1F
tetradic
#1F702E #1F3870 #701F61 #70561F
square
#1F702E #1F3870 #701F61 #70561F
split-complementary
#1F702E #561F70 #701F38
monochromatic
#07180A #12401A #1F702E #2CA042 #3FCA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F702E#FFFFFF#000000##FFFFFF
##1F702E1.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)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f702e;
/* rgb */ color: rgb(31, 112, 46);
/* oklch */ color: oklch(48.1% 0.127 146.4);
Tailwind
colors: {
  custom: {
    50: '#679a69',
    500: '#1f702e',
    950: '#000000',
  },
}
SCSS
$custom: #1f702e;
$custom-light: #679a69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f702e",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 131.111,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48124,
    "c": 0.12654,
    "h": 146.4
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#1F702E
secondary
#A44793
accent
#48C4E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F702E

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

Preview Lab → · Contrast checker → · Palette generator →

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