#1F8D34#1F8D34

#1F8D34 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.159 H 145.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8D34
RGBrgb(31, 141, 52)
HSLhsl(131, 64%, 34%)
HSVhsv(131, 78%, 55%)
CMYKcmyk(78%, 0%, 63.1%, 44.7%)
CIE-LABlab(51.37, -48.88, 38.13)
CIE-LCHlch(51.37, 62.00, 142.05°)
OKLaboklab(56.46% -0.1317 0.0894)
OKLCHoklch(56.46% 0.159 145.8)
XYZxyz(10.7090, 19.5877, 6.4646)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D34 #8D1F78
analogous
#418D1F #1F8D34 #1F8D6B
triadic
#1F8D34 #341F8D #8D341F
tetradic
#1F8D34 #1F418D #8D1F78 #8D6B1F
square
#1F8D34 #1F418D #8D1F78 #8D6B1F
split-complementary
#1F8D34 #6B1F8D #8D1F41
monochromatic
#09290F #145B21 #1F8D34 #2ABF47 #4ED869

Accessibility & contrast

On white

4.27
#1F8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D34
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D34#FFFFFF#000000##000000
##1F8D341.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802A
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d34;
/* rgb */ color: rgb(31, 141, 52);
/* oklch */ color: oklch(56.5% 0.159 145.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf6f',
    500: '#1f8d34',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d34;
$custom-light: #6eaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d34",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 131.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.15924,
    "h": 145.8
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#1F8D34
secondary
#BB4DA6
accent
#41C7E7
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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