#1F8B41#1F8B41

#1F8B41 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.145 H 149.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8B41
RGBrgb(31, 139, 65)
HSLhsl(139, 64%, 33%)
HSVhsv(139, 78%, 55%)
CMYKcmyk(77.7%, 0%, 53.2%, 45.5%)
CIE-LABlab(50.85, -46.32, 31.04)
CIE-LCHlch(50.85, 55.76, 146.17°)
OKLaboklab(56.08% -0.1245 0.0749)
OKLCHoklch(56.08% 0.145 149)
XYZxyz(10.7510, 19.1369, 8.1272)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B41 #8B1F69
analogous
#338B1F #1F8B41 #1F8B77
triadic
#1F8B41 #411F8B #8B411F
tetradic
#1F8B41 #1F338B #8B1F69 #8B771F
square
#1F8B41 #1F338B #8B1F69 #8B771F
split-complementary
#1F8B41 #771F8B #8B1F33
monochromatic
#092712 #14592A #1F8B41 #2ABD58 #4DD779

Accessibility & contrast

On white

4.35
#1F8B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#1F8B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B41
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B41#FFFFFF#000000##000000
##1F8B411.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b41;
/* rgb */ color: rgb(31, 139, 65);
/* oklch */ color: oklch(56.1% 0.145 149.0);
Tailwind
colors: {
  custom: {
    50: '#6dae77',
    500: '#1f8b41',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b41;
$custom-light: #6dae77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b41",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 138.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.14533,
    "h": 149
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#1F8B41
secondary
#BA4C97
accent
#41B3E7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8B41

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

Preview Lab → · Contrast checker → · Palette generator →

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