#1F7513#1F7513

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

Color values

HEX#1F7513
RGBrgb(31, 117, 19)
HSLhsl(113, 72%, 27%)
HSVhsv(113, 84%, 46%)
CMYKcmyk(73.5%, 0%, 83.8%, 54.1%)
CIE-LABlab(42.85, -43.66, 42.68)
CIE-LCHlch(42.85, 61.06, 135.65°)
OKLaboklab(49.31% -0.1191 0.0948)
OKLCHoklch(49.31% 0.152 141.5)
XYZxyz(7.0435, 13.0601, 2.7656)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7513 #691375
analogous
#507513 #1F7513 #137538
triadic
#1F7513 #131F75 #75131F
tetradic
#1F7513 #135075 #691375 #753813
square
#1F7513 #135075 #691375 #753813
split-complementary
#1F7513 #381375 #751350
monochromatic
#071A04 #11400A #1F7513 #2DAA1C #3DDC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7513#FFFFFF#000000##FFFFFF
##1F75131.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)
#6E631F
Tritanopia (blue-blind)
#087163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7513;
/* rgb */ color: rgb(31, 117, 19);
/* oklch */ color: oklch(49.3% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a9e5a',
    500: '#1f7513',
    950: '#000000',
  },
}
SCSS
$custom: #1f7513;
$custom-light: #6a9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7513",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 112.653,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.15227,
    "h": 141.5
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#1F7513
secondary
#9D38AB
accent
#39EFD9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7513

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

Preview Lab → · Contrast checker → · Palette generator →

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