#1F7E11#1F7E11

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

Color values

HEX#1F7E11
RGBrgb(31, 126, 17)
HSLhsl(112, 76%, 28%)
HSVhsv(112, 87%, 49%)
CMYKcmyk(75.4%, 0%, 86.5%, 50.6%)
CIE-LABlab(45.98, -46.88, 46.15)
CIE-LCHlch(45.98, 65.78, 135.45°)
OKLaboklab(51.9% -0.1279 0.1018)
OKLCHoklch(51.9% 0.163 141.5)
XYZxyz(8.1266, 15.2526, 3.0460)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E11 #70117E
analogous
#557E11 #1F7E11 #117E3A
triadic
#1F7E11 #111F7E #7E111F
tetradic
#1F7E11 #11557E #70117E #7E3A11
square
#1F7E11 #11557E #70117E #7E3A11
split-complementary
#1F7E11 #3A117E #7E1155
monochromatic
#071B04 #12480A #1F7E11 #2CB418 #3FE227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7E11#FFFFFF#000000##FFFFFF
##1F7E111.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)
#776A20
Tritanopia (blue-blind)
#017A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7e11;
/* rgb */ color: rgb(31, 126, 17);
/* oklch */ color: oklch(51.9% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ca45b',
    500: '#1f7e11',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e11;
$custom-light: #6ca45b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e11",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 112.294,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.16345,
    "h": 141.5
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#1F7E11
secondary
#A437B4
accent
#35F3DA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1F7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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