#1F7514#1F7514

#1F7514 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.3% C 0.152 H 141.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1F7514
RGBrgb(31, 117, 20)
HSLhsl(113, 71%, 27%)
HSVhsv(113, 83%, 46%)
CMYKcmyk(73.5%, 0%, 82.9%, 54.1%)
CIE-LABlab(42.86, -43.60, 42.37)
CIE-LCHlch(42.86, 60.79, 135.82°)
OKLaboklab(49.31% -0.1189 0.0943)
OKLCHoklch(49.31% 0.152 141.6)
XYZxyz(7.0522, 13.0636, 2.8116)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7514 #6A1475
analogous
#507514 #1F7514 #14753A
triadic
#1F7514 #141F75 #75141F
tetradic
#1F7514 #145075 #6A1475 #753A14
square
#1F7514 #145075 #6A1475 #753A14
split-complementary
#1F7514 #3A1475 #751450
monochromatic
#071A04 #11410B #1F7514 #2DA91D #3DDA29

Accessibility & contrast

On white

5.81
#1F7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7514
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7514#FFFFFF#000000##FFFFFF
##1F75141.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#087163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7514;
/* rgb */ color: rgb(31, 117, 20);
/* oklch */ color: oklch(49.3% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e5b',
    500: '#1f7514',
    950: '#000000',
  },
}
SCSS
$custom: #1f7514;
$custom-light: #6a9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7514",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 113.196,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.15179,
    "h": 141.6
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#1F7514
secondary
#9E3AAB
accent
#3AEED9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7514

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

Preview Lab → · Contrast checker → · Palette generator →

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