#1F8F3E#1F8F3E

#1F8F3E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.153 H 147.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1F8F3E
RGBrgb(31, 143, 62)
HSLhsl(137, 64%, 34%)
HSVhsv(137, 78%, 56%)
CMYKcmyk(78.3%, 0%, 56.6%, 43.9%)
CIE-LABlab(52.16, -48.23, 34.17)
CIE-LCHlch(52.16, 59.11, 144.69°)
OKLaboklab(57.15% -0.1297 0.0817)
OKLCHoklch(57.15% 0.153 147.8)
XYZxyz(11.2562, 20.2827, 7.8782)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F3E #8F1F70
analogous
#388F1F #1F8F3E #1F8F76
triadic
#1F8F3E #3E1F8F #8F3E1F
tetradic
#1F8F3E #1F388F #8F1F70 #8F761F
square
#1F8F3E #1F388F #8F1F70 #8F761F
split-complementary
#1F8F3E #761F8F #8F1F38
monochromatic
#092A12 #145D28 #1F8F3E #2AC154 #4FD976

Accessibility & contrast

On white

4.15
#1F8F3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1F8F3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F3E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F3E#FFFFFF#000000##000000
##1F8F3E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918236
Deuteranopia (green-blind)
#847944
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f3e;
/* rgb */ color: rgb(31, 143, 62);
/* oklch */ color: oklch(57.1% 0.153 147.8);
Tailwind
colors: {
  custom: {
    50: '#6eb175',
    500: '#1f8f3e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f3e;
$custom-light: #6eb175;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f3e",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 62
  },
  "hsl": {
    "h": 136.607,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.15327,
    "h": 147.8
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#1F8F3E
secondary
#BC4E9D
accent
#40B9E7
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F8F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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