#1F7E14#1F7E14

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

Color values

HEX#1F7E14
RGBrgb(31, 126, 20)
HSLhsl(114, 73%, 29%)
HSVhsv(114, 84%, 49%)
CMYKcmyk(75.4%, 0%, 84.1%, 50.6%)
CIE-LABlab(45.99, -46.71, 45.30)
CIE-LCHlch(45.99, 65.07, 135.87°)
OKLaboklab(51.91% -0.1273 0.1004)
OKLCHoklch(51.91% 0.162 141.7)
XYZxyz(8.1517, 15.2626, 3.1781)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E14 #73147E
analogous
#547E14 #1F7E14 #147E3E
triadic
#1F7E14 #141F7E #7E141F
tetradic
#1F7E14 #14547E #73147E #7E3E14
square
#1F7E14 #14547E #73147E #7E3E14
split-complementary
#1F7E14 #3E147E #7E1454
monochromatic
#061A04 #12490C #1F7E14 #2CB31C #41DE2E

Accessibility & contrast

On white

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

On black

4.05
#1F7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7E14#FFFFFF#000000##FFFFFF
##1F7E141.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7e14;
/* rgb */ color: rgb(31, 126, 20);
/* oklch */ color: oklch(51.9% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca45c',
    500: '#1f7e14',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e14;
$custom-light: #6ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e14",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 113.774,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.16217,
    "h": 141.7
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#1F7E14
secondary
#A73AB3
accent
#38EFDC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1F7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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