#1F8A3E#1F8A3E

#1F8A3E is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.147 H 148.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F8A3E
RGBrgb(31, 138, 62)
HSLhsl(137, 63%, 33%)
HSVhsv(137, 78%, 54%)
CMYKcmyk(77.5%, 0%, 55.1%, 45.9%)
CIE-LABlab(50.47, -46.43, 32.13)
CIE-LCHlch(50.47, 56.46, 145.31°)
OKLaboklab(55.75% -0.1248 0.0772)
OKLCHoklch(55.75% 0.147 148.3)
XYZxyz(10.5222, 18.8148, 7.6336)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A3E #8A1F6B
analogous
#358A1F #1F8A3E #1F8A73
triadic
#1F8A3E #3E1F8A #8A3E1F
tetradic
#1F8A3E #1F358A #8A1F6B #8A731F
square
#1F8A3E #1F358A #8A1F6B #8A731F
split-complementary
#1F8A3E #731F8A #8A1F35
monochromatic
#092611 #145828 #1F8A3E #2ABC54 #4CD775

Accessibility & contrast

On white

4.41
#1F8A3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1F8A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A3E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A3E#FFFFFF#000000##000000
##1F8A3E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D37
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a3e;
/* rgb */ color: rgb(31, 138, 62);
/* oklch */ color: oklch(55.8% 0.147 148.3);
Tailwind
colors: {
  custom: {
    50: '#6dad75',
    500: '#1f8a3e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a3e;
$custom-light: #6dad75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a3e",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 137.383,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.14676,
    "h": 148.3
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#1F8A3E
secondary
#BA4B9A
accent
#41B7E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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