#1F8F19#1F8F19

#1F8F19 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.179 H 142.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F8F19
RGBrgb(31, 143, 25)
HSLhsl(117, 70%, 33%)
HSVhsv(117, 83%, 56%)
CMYKcmyk(78.3%, 0%, 82.5%, 43.9%)
CIE-LABlab(51.84, -52.04, 49.27)
CIE-LCHlch(51.84, 71.66, 136.57°)
OKLaboklab(56.79% -0.1415 0.1094)
OKLCHoklch(56.79% 0.179 142.3)
XYZxyz(10.5624, 20.0052, 4.2242)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F19 #89198F
analogous
#5A8F19 #1F8F19 #198F4E
triadic
#1F8F19 #191F8F #8F191F
tetradic
#1F8F19 #195A8F #89198F #8F4E19
square
#1F8F19 #195A8F #89198F #8F4E19
split-complementary
#1F8F19 #4E198F #8F195A
monochromatic
#082707 #145B10 #1F8F19 #2AC322 #4CDE44

Accessibility & contrast

On white

4.20
#1F8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F19
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F19#FFFFFF#000000##000000
##1F8F191.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f19;
/* rgb */ color: rgb(31, 143, 25);
/* oklch */ color: oklch(56.8% 0.179 142.3);
Tailwind
colors: {
  custom: {
    50: '#70b161',
    500: '#1f8f19',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f19;
$custom-light: #70b161;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f19",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 116.949,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.1789,
    "h": 142.3
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#1F8F19
secondary
#B944BF
accent
#3BEDE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1F8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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