#1F702C#1F702C

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

Color values

HEX#1F702C
RGBrgb(31, 112, 44)
HSLhsl(130, 57%, 28%)
HSVhsv(130, 72%, 44%)
CMYKcmyk(72.3%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.31, -39.33, 30.44)
CIE-LCHlch(41.31, 49.73, 142.27°)
OKLaboklab(48.1% -0.1062 0.0721)
OKLCHoklch(48.1% 0.128 145.8)
XYZxyz(6.8134, 12.0608, 4.3513)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F702C #701F63
analogous
#3A701F #1F702C #1F7054
triadic
#1F702C #2C1F70 #702C1F
tetradic
#1F702C #1F3A70 #701F63 #70541F
square
#1F702C #1F3A70 #701F63 #70541F
split-complementary
#1F702C #541F70 #701F3A
monochromatic
#071809 #124019 #1F702C #2CA03F #3FCA56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F702C#FFFFFF#000000##FFFFFF
##1F702C1.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)
#726525
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#016D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f702c;
/* rgb */ color: rgb(31, 112, 44);
/* oklch */ color: oklch(48.1% 0.128 145.8);
Tailwind
colors: {
  custom: {
    50: '#679a67',
    500: '#1f702c',
    950: '#000000',
  },
}
SCSS
$custom: #1f702c;
$custom-light: #679a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f702c",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 129.63,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.12837,
    "h": 145.8
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#1F702C
secondary
#A44795
accent
#48C8E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F702C

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

Preview Lab → · Contrast checker → · Palette generator →

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