#1F7511#1F7511

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

Color values

HEX#1F7511
RGBrgb(31, 117, 17)
HSLhsl(112, 75%, 26%)
HSVhsv(112, 85%, 46%)
CMYKcmyk(73.5%, 0%, 85.5%, 54.1%)
CIE-LABlab(42.84, -43.78, 43.28)
CIE-LCHlch(42.84, 61.56, 135.33°)
OKLaboklab(49.3% -0.1196 0.0958)
OKLCHoklch(49.3% 0.153 141.3)
XYZxyz(7.0272, 13.0536, 2.6795)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7511 #671175
analogous
#517511 #1F7511 #117535
triadic
#1F7511 #111F75 #75111F
tetradic
#1F7511 #115175 #671175 #753511
square
#1F7511 #115175 #671175 #753511
split-complementary
#1F7511 #351175 #751151
monochromatic
#071B04 #114009 #1F7511 #2DAA19 #3CDF22

Accessibility & contrast

On white

5.82
#1F7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7511
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7511#FFFFFF#000000##FFFFFF
##1F75111.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7511;
/* rgb */ color: rgb(31, 117, 17);
/* oklch */ color: oklch(49.3% 0.153 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9e59',
    500: '#1f7511',
    950: '#000000',
  },
}
SCSS
$custom: #1f7511;
$custom-light: #6a9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7511",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 111.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49295,
    "c": 0.1532,
    "h": 141.3
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#1F7511
secondary
#9B36AC
accent
#37F1D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7511

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

Preview Lab → · Contrast checker → · Palette generator →

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