#1F7519#1F7519

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

Color values

HEX#1F7519
RGBrgb(31, 117, 25)
HSLhsl(116, 65%, 28%)
HSVhsv(116, 79%, 46%)
CMYKcmyk(73.5%, 0%, 78.6%, 54.1%)
CIE-LABlab(42.89, -43.24, 40.66)
CIE-LCHlch(42.89, 59.35, 136.76°)
OKLaboklab(49.35% -0.1177 0.0915)
OKLCHoklch(49.35% 0.149 142.1)
XYZxyz(7.1014, 13.0833, 3.0706)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7519 #6F1975
analogous
#4D7519 #1F7519 #197541
triadic
#1F7519 #191F75 #75191F
tetradic
#1F7519 #194D75 #6F1975 #754119
square
#1F7519 #194D75 #6F1975 #754119
split-complementary
#1F7519 #411975 #75194D
monochromatic
#071905 #12430E #1F7519 #2CA724 #3FD435

Accessibility & contrast

On white

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

On black

3.62
#1F7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7519#FFFFFF#000000##FFFFFF
##1F75191.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786905
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#067163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7519;
/* rgb */ color: rgb(31, 117, 25);
/* oklch */ color: oklch(49.3% 0.149 142.1);
Tailwind
colors: {
  custom: {
    50: '#699e5d',
    500: '#1f7519',
    950: '#000000',
  },
}
SCSS
$custom: #1f7519;
$custom-light: #699e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7519",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 116.087,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.14908,
    "h": 142.1
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#1F7519
secondary
#A340AA
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7519

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

Preview Lab → · Contrast checker → · Palette generator →

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