#1F7E19#1F7E19

#1F7E19 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.160 H 142.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1F7E19
RGBrgb(31, 126, 25)
HSLhsl(116, 67%, 30%)
HSVhsv(116, 80%, 49%)
CMYKcmyk(75.4%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.02, -46.38, 43.72)
CIE-LCHlch(46.02, 63.74, 136.69°)
OKLaboklab(51.94% -0.1262 0.0979)
OKLCHoklch(51.94% 0.16 142.2)
XYZxyz(8.2009, 15.2823, 3.4371)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E19 #78197E
analogous
#517E19 #1F7E19 #197E46
triadic
#1F7E19 #191F7E #7E191F
tetradic
#1F7E19 #19517E #78197E #7E4619
square
#1F7E19 #19517E #78197E #7E4619
split-complementary
#1F7E19 #46197E #7E1951
monochromatic
#061A05 #124B0F #1F7E19 #2CB123 #43D83A

Accessibility & contrast

On white

5.18
#1F7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F7E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E19
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E19#FFFFFF#000000##FFFFFF
##1F7E191.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7e19;
/* rgb */ color: rgb(31, 126, 25);
/* oklch */ color: oklch(51.9% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ca45e',
    500: '#1f7e19',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e19;
$custom-light: #6ca45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e19",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 116.436,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.1597,
    "h": 142.2
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#1F7E19
secondary
#AB41B2
accent
#3EEAE0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1F7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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