#1F8D41#1F8D41

#1F8D41 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.148 H 148.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1F8D41
RGBrgb(31, 141, 65)
HSLhsl(139, 64%, 34%)
HSVhsv(139, 78%, 55%)
CMYKcmyk(78%, 0%, 53.9%, 44.7%)
CIE-LABlab(51.52, -47.06, 31.87)
CIE-LCHlch(51.52, 56.83, 145.89°)
OKLaboklab(56.63% -0.1265 0.0768)
OKLCHoklch(56.63% 0.148 148.7)
XYZxyz(11.0432, 19.7214, 8.2246)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D41 #8D1F6B
analogous
#348D1F #1F8D41 #1F8D78
triadic
#1F8D41 #411F8D #8D411F
tetradic
#1F8D41 #1F348D #8D1F6B #8D781F
square
#1F8D41 #1F348D #8D1F6B #8D781F
split-complementary
#1F8D41 #781F8D #8D1F34
monochromatic
#092913 #145B2A #1F8D41 #2ABF58 #4ED879

Accessibility & contrast

On white

4.25
#1F8D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1F8D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D41
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D41#FFFFFF#000000##000000
##1F8D411.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803A
Deuteranopia (green-blind)
#827747
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d41;
/* rgb */ color: rgb(31, 141, 65);
/* oklch */ color: oklch(56.6% 0.148 148.7);
Tailwind
colors: {
  custom: {
    50: '#6daf77',
    500: '#1f8d41',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d41;
$custom-light: #6daf77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d41",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 138.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.14796,
    "h": 148.7
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#1F8D41
secondary
#BB4D99
accent
#41B4E7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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