#1F7314#1F7314

#1F7314 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.7% C 0.149 H 141.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1F7314
RGBrgb(31, 115, 20)
HSLhsl(113, 70%, 26%)
HSVhsv(113, 83%, 45%)
CMYKcmyk(73%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.16, -42.89, 41.70)
CIE-LCHlch(42.16, 59.82, 135.81°)
OKLaboklab(48.73% -0.117 0.0929)
OKLCHoklch(48.73% 0.149 141.6)
XYZxyz(6.8217, 12.6025, 2.7347)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7314 #681473
analogous
#4F7314 #1F7314 #147339
triadic
#1F7314 #141F73 #73141F
tetradic
#1F7314 #144F73 #681473 #733914
square
#1F7314 #144F73 #681473 #733914
split-complementary
#1F7314 #391473 #73144F
monochromatic
#071A05 #113F0B #1F7314 #2DA71D #3CDA28

Accessibility & contrast

On white

5.96
#1F7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#1F7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7314
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7314#FFFFFF#000000##FFFFFF
##1F73141.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#096F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f7314;
/* rgb */ color: rgb(31, 115, 20);
/* oklch */ color: oklch(48.7% 0.149 141.6);
Tailwind
colors: {
  custom: {
    50: '#699c5a',
    500: '#1f7314',
    950: '#000000',
  },
}
SCSS
$custom: #1f7314;
$custom-light: #699c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7314",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 113.053,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.14943,
    "h": 141.6
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#1F7314
secondary
#9C3AA9
accent
#3BEDD8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7314

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

Preview Lab → · Contrast checker → · Palette generator →

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