#1F7014#1F7014

#1F7014 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.146 H 141.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7014
RGBrgb(31, 112, 20)
HSLhsl(113, 70%, 26%)
HSVhsv(113, 82%, 44%)
CMYKcmyk(72.3%, 0%, 82.1%, 56.1%)
CIE-LABlab(41.10, -41.82, 40.70)
CIE-LCHlch(41.10, 58.36, 135.78°)
OKLaboklab(47.86% -0.1141 0.0908)
OKLCHoklch(47.86% 0.146 141.5)
XYZxyz(6.4852, 11.9295, 2.6225)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7014 #651470
analogous
#4D7014 #1F7014 #147037
triadic
#1F7014 #141F70 #70141F
tetradic
#1F7014 #144D70 #651470 #703714
square
#1F7014 #144D70 #651470 #703714
split-complementary
#1F7014 #371470 #70144D
monochromatic
#071A05 #113C0B #1F7014 #2DA41D #3CD827

Accessibility & contrast

On white

6.20
#1F7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#1F7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7014
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7014#FFFFFF#000000##FFFFFF
##1F70141.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6A5E1F
Tritanopia (blue-blind)
#0C6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f7014;
/* rgb */ color: rgb(31, 112, 20);
/* oklch */ color: oklch(47.9% 0.146 141.5);
Tailwind
colors: {
  custom: {
    50: '#689a5a',
    500: '#1f7014',
    950: '#000000',
  },
}
SCSS
$custom: #1f7014;
$custom-light: #689a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7014",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 112.826,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.14586,
    "h": 141.5
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#1F7014
secondary
#9939A6
accent
#3BEDD7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7014

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

Preview Lab → · Contrast checker → · Palette generator →

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