#1F8A39#1F8A39

#1F8A39 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.151 H 147.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F8A39
RGBrgb(31, 138, 57)
HSLhsl(135, 63%, 33%)
HSVhsv(135, 78%, 54%)
CMYKcmyk(77.5%, 0%, 58.7%, 45.9%)
CIE-LABlab(50.41, -47.16, 34.59)
CIE-LCHlch(50.41, 58.49, 143.74°)
OKLaboklab(55.68% -0.1269 0.0822)
OKLCHoklch(55.68% 0.151 147.1)
XYZxyz(10.3913, 18.7625, 6.9440)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A39 #8A1F70
analogous
#3B8A1F #1F8A39 #1F8A6E
triadic
#1F8A39 #391F8A #8A391F
tetradic
#1F8A39 #1F3B8A #8A1F70 #8A6E1F
square
#1F8A39 #1F3B8A #8A1F70 #8A6E1F
split-complementary
#1F8A39 #6E1F8A #8A1F3B
monochromatic
#092610 #145824 #1F8A39 #2ABC4E #4CD76E

Accessibility & contrast

On white

4.42
#1F8A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1F8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A39
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A39#FFFFFF#000000##000000
##1F8A391.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D31
Deuteranopia (green-blind)
#80753F
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a39;
/* rgb */ color: rgb(31, 138, 57);
/* oklch */ color: oklch(55.7% 0.151 147.1);
Tailwind
colors: {
  custom: {
    50: '#6dad72',
    500: '#1f8a39',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a39;
$custom-light: #6dad72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a39",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 134.579,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.15122,
    "h": 147.1
  },
  "luminance": 0.18764
}

Semantic roles & 50–950 ramp

primary
#1F8A39
secondary
#BA4B9F
accent
#41BEE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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