#1F7E10#1F7E10

#1F7E10 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.164 H 141.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7E10
RGBrgb(31, 126, 16)
HSLhsl(112, 77%, 28%)
HSVhsv(112, 87%, 49%)
CMYKcmyk(75.4%, 0%, 87.3%, 50.6%)
CIE-LABlab(45.97, -46.93, 46.41)
CIE-LCHlch(45.97, 66.00, 135.32°)
OKLaboklab(51.89% -0.1281 0.1022)
OKLCHoklch(51.89% 0.164 141.4)
XYZxyz(8.1190, 15.2495, 3.0057)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E10 #6F107E
analogous
#567E10 #1F7E10 #107E38
triadic
#1F7E10 #101F7E #7E101F
tetradic
#1F7E10 #10567E #6F107E #7E3810
square
#1F7E10 #10567E #6F107E #7E3810
split-complementary
#1F7E10 #38107E #7E1056
monochromatic
#071B03 #124809 #1F7E10 #2CB417 #3FE325

Accessibility & contrast

On white

5.19
#1F7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7E10
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E10#FFFFFF#000000##FFFFFF
##1F7E101.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7e10;
/* rgb */ color: rgb(31, 126, 16);
/* oklch */ color: oklch(51.9% 0.164 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ca45b',
    500: '#1f7e10',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e10;
$custom-light: #6ca45b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e10",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 111.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.16385,
    "h": 141.4
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#1F7E10
secondary
#A336B4
accent
#34F4DA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1F7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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