#1F8019#1F8019

#1F8019 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.162 H 142.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F8019
RGBrgb(31, 128, 25)
HSLhsl(117, 67%, 30%)
HSVhsv(117, 80%, 50%)
CMYKcmyk(75.8%, 0%, 80.5%, 49.8%)
CIE-LABlab(46.71, -47.06, 44.39)
CIE-LCHlch(46.71, 64.69, 136.67°)
OKLaboklab(52.52% -0.128 0.0993)
OKLCHoklch(52.52% 0.162 142.2)
XYZxyz(8.4592, 15.7989, 3.5232)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8019 #7A1980
analogous
#528019 #1F8019 #198047
triadic
#1F8019 #191F80 #80191F
tetradic
#1F8019 #195280 #7A1980 #804719
square
#1F8019 #195280 #7A1980 #804719
split-complementary
#1F8019 #471980 #801952
monochromatic
#061A05 #134D0F #1F8019 #2BB323 #44D93B

Accessibility & contrast

On white

5.05
#1F8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F8019
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8019#FFFFFF#000000##FFFFFF
##1F80191.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8019;
/* rgb */ color: rgb(31, 128, 25);
/* oklch */ color: oklch(52.5% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ca65f',
    500: '#1f8019',
    950: '#000000',
  },
}
SCSS
$custom: #1f8019;
$custom-light: #6ca65f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8019",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 116.505,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52519,
    "c": 0.16202,
    "h": 142.2
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#1F8019
secondary
#AD41B4
accent
#3EEAE0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1F8019

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

Preview Lab → · Contrast checker → · Palette generator →

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