#1F8B3E#1F8B3E

#1F8B3E is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.148 H 148.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8B3E
RGBrgb(31, 139, 62)
HSLhsl(137, 64%, 33%)
HSVhsv(137, 78%, 55%)
CMYKcmyk(77.7%, 0%, 55.4%, 45.5%)
CIE-LABlab(50.81, -46.79, 32.54)
CIE-LCHlch(50.81, 57.00, 145.18°)
OKLaboklab(56.03% -0.1258 0.0781)
OKLCHoklch(56.03% 0.148 148.2)
XYZxyz(10.6664, 19.1031, 7.6816)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B3E #8B1F6C
analogous
#368B1F #1F8B3E #1F8B74
triadic
#1F8B3E #3E1F8B #8B3E1F
tetradic
#1F8B3E #1F368B #8B1F6C #8B741F
square
#1F8B3E #1F368B #8B1F6C #8B741F
split-complementary
#1F8B3E #741F8B #8B1F36
monochromatic
#092711 #145928 #1F8B3E #2ABD54 #4DD775

Accessibility & contrast

On white

4.36
#1F8B3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F8B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B3E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B3E#FFFFFF#000000##000000
##1F8B3E1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8b3e;
/* rgb */ color: rgb(31, 139, 62);
/* oklch */ color: oklch(56.0% 0.148 148.2);
Tailwind
colors: {
  custom: {
    50: '#6dae75',
    500: '#1f8b3e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b3e;
$custom-light: #6dae75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b3e",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 137.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.14807,
    "h": 148.2
  },
  "luminance": 0.19104
}

Semantic roles & 50–950 ramp

primary
#1F8B3E
secondary
#BA4C9A
accent
#41B7E7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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