#1F8113#1F8113

#1F8113 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.166 H 141.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F8113
RGBrgb(31, 129, 19)
HSLhsl(113, 74%, 29%)
HSVhsv(113, 85%, 51%)
CMYKcmyk(76%, 0%, 85.3%, 49.4%)
CIE-LABlab(47.02, -47.78, 46.55)
CIE-LCHlch(47.02, 66.70, 135.75°)
OKLaboklab(52.77% -0.1302 0.1029)
OKLCHoklch(52.77% 0.166 141.7)
XYZxyz(8.5324, 16.0379, 3.2619)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8113 #751381
analogous
#568113 #1F8113 #13813E
triadic
#1F8113 #131F81 #81131F
tetradic
#1F8113 #135681 #751381 #813E13
square
#1F8113 #135681 #751381 #813E13
split-complementary
#1F8113 #3E1381 #811356
monochromatic
#061B04 #124C0B #1F8113 #2CB61B #42E02E

Accessibility & contrast

On white

4.99
#1F8113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F8113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8113
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8113#FFFFFF#000000##FFFFFF
##1F81131.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8113;
/* rgb */ color: rgb(31, 129, 19);
/* oklch */ color: oklch(52.8% 0.166 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da75c',
    500: '#1f8113',
    950: '#000000',
  },
}
SCSS
$custom: #1f8113;
$custom-light: #6da75c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8113",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 113.455,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.16599,
    "h": 141.7
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#1F8113
secondary
#A93AB6
accent
#37F1DD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #1F8113

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

Preview Lab → · Contrast checker → · Palette generator →

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