#1F7313#1F7313

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

Color values

HEX#1F7313
RGBrgb(31, 115, 19)
HSLhsl(113, 72%, 26%)
HSVhsv(113, 83%, 45%)
CMYKcmyk(73%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.15, -42.96, 42.02)
CIE-LCHlch(42.15, 60.09, 135.63°)
OKLaboklab(48.73% -0.1172 0.0934)
OKLCHoklch(48.73% 0.15 141.4)
XYZxyz(6.8130, 12.5991, 2.6888)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7313 #671373
analogous
#4F7313 #1F7313 #137337
triadic
#1F7313 #131F73 #73131F
tetradic
#1F7313 #134F73 #671373 #733713
square
#1F7313 #134F73 #671373 #733713
split-complementary
#1F7313 #371373 #73134F
monochromatic
#071A04 #113E0A #1F7313 #2DA81C #3CDB25

Accessibility & contrast

On white

5.97
#1F7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7313
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7313#FFFFFF#000000##FFFFFF
##1F73131.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7313;
/* rgb */ color: rgb(31, 115, 19);
/* oklch */ color: oklch(48.7% 0.150 141.4);
Tailwind
colors: {
  custom: {
    50: '#699c5a',
    500: '#1f7313',
    950: '#000000',
  },
}
SCSS
$custom: #1f7313;
$custom-light: #699c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7313",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 112.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.14993,
    "h": 141.4
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#1F7313
secondary
#9B38AA
accent
#39EED8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7313

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

Preview Lab → · Contrast checker → · Palette generator →

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