#1F801E#1F801E

#1F801E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.159 H 142.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F801E
RGBrgb(31, 128, 30)
HSLhsl(119, 62%, 31%)
HSVhsv(119, 77%, 50%)
CMYKcmyk(75.8%, 0%, 76.6%, 49.8%)
CIE-LABlab(46.74, -46.68, 42.62)
CIE-LCHlch(46.74, 63.21, 137.60°)
OKLaboklab(52.55% -0.1268 0.0963)
OKLCHoklch(52.55% 0.159 142.8)
XYZxyz(8.5181, 15.8224, 3.8332)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F801E #7F1E80
analogous
#50801E #1F801E #1E804E
triadic
#1F801E #1E1F80 #801E1F
tetradic
#1F801E #1E5080 #7F1E80 #804E1E
square
#1F801E #1E5080 #7F1E80 #804E1E
split-complementary
#1F801E #4E1E80 #801E50
monochromatic
#071D07 #134E12 #1F801E #2BB22A #46D345

Accessibility & contrast

On white

5.04
#1F801E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F801E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F801E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F801E#FFFFFF#000000##FFFFFF
##1F801E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f801e;
/* rgb */ color: rgb(31, 128, 30);
/* oklch */ color: oklch(52.6% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca661',
    500: '#1f801e',
    950: '#000000',
  },
}
SCSS
$custom: #1f801e;
$custom-light: #6ca661;
$custom-dark: #000000;
JSON
{
  "hex": "#1f801e",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 119.388,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.1592,
    "h": 142.8
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#1F801E
secondary
#B247B3
accent
#43E5E3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1F801E

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

Preview Lab → · Contrast checker → · Palette generator →

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