#1F8D19#1F8D19

#1F8D19 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.177 H 142.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8D19
RGBrgb(31, 141, 25)
HSLhsl(117, 70%, 33%)
HSVhsv(117, 82%, 55%)
CMYKcmyk(78%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.16, -51.39, 48.63)
CIE-LCHlch(51.16, 70.75, 136.58°)
OKLaboklab(56.22% -0.1398 0.1081)
OKLCHoklch(56.22% 0.177 142.3)
XYZxyz(10.2648, 19.4100, 4.1250)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D19 #87198D
analogous
#598D19 #1F8D19 #198D4D
triadic
#1F8D19 #191F8D #8D191F
tetradic
#1F8D19 #19598D #87198D #8D4D19
square
#1F8D19 #19598D #87198D #8D4D19
split-complementary
#1F8D19 #4D198D #8D1959
monochromatic
#082507 #145910 #1F8D19 #2AC122 #4BDE43

Accessibility & contrast

On white

4.30
#1F8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D19
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D19#FFFFFF#000000##000000
##1F8D191.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d19;
/* rgb */ color: rgb(31, 141, 25);
/* oklch */ color: oklch(56.2% 0.177 142.3);
Tailwind
colors: {
  custom: {
    50: '#6faf60',
    500: '#1f8d19',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d19;
$custom-light: #6faf60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d19",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 116.897,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.17669,
    "h": 142.3
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#1F8D19
secondary
#B843BF
accent
#3BEDE3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #1F8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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