#1F7414#1F7414

#1F7414 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.151 H 141.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1F7414
RGBrgb(31, 116, 20)
HSLhsl(113, 71%, 27%)
HSVhsv(113, 83%, 45%)
CMYKcmyk(73.3%, 0%, 82.8%, 54.5%)
CIE-LABlab(42.51, -43.25, 42.03)
CIE-LCHlch(42.51, 60.31, 135.81°)
OKLaboklab(49.02% -0.118 0.0936)
OKLCHoklch(49.02% 0.151 141.6)
XYZxyz(6.9363, 12.8318, 2.7729)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7414 #691474
analogous
#4F7414 #1F7414 #147439
triadic
#1F7414 #141F74 #74141F
tetradic
#1F7414 #144F74 #691474 #743914
square
#1F7414 #144F74 #691474 #743914
split-complementary
#1F7414 #391474 #74144F
monochromatic
#071A05 #11400B #1F7414 #2DA81D #3DDA28

Accessibility & contrast

On white

5.89
#1F7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1F7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7414
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7414#FFFFFF#000000##FFFFFF
##1F74141.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#087062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7414;
/* rgb */ color: rgb(31, 116, 20);
/* oklch */ color: oklch(49.0% 0.151 141.6);
Tailwind
colors: {
  custom: {
    50: '#699d5a',
    500: '#1f7414',
    950: '#000000',
  },
}
SCSS
$custom: #1f7414;
$custom-light: #699d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7414",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 113.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.15061,
    "h": 141.6
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#1F7414
secondary
#9D3AAA
accent
#3AEDD9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7414

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

Preview Lab → · Contrast checker → · Palette generator →

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