#1F8A3F#1F8A3F

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

Color values

HEX#1F8A3F
RGBrgb(31, 138, 63)
HSLhsl(138, 63%, 33%)
HSVhsv(138, 78%, 54%)
CMYKcmyk(77.5%, 0%, 54.3%, 45.9%)
CIE-LABlab(50.48, -46.27, 31.64)
CIE-LCHlch(50.48, 56.05, 145.64°)
OKLaboklab(55.77% -0.1244 0.0761)
OKLCHoklch(55.77% 0.146 148.5)
XYZxyz(10.5499, 18.8259, 7.7794)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A3F #8A1F6A
analogous
#348A1F #1F8A3F #1F8A74
triadic
#1F8A3F #3F1F8A #8A3F1F
tetradic
#1F8A3F #1F348A #8A1F6A #8A741F
square
#1F8A3F #1F348A #8A1F6A #8A741F
split-complementary
#1F8A3F #741F8A #8A1F34
monochromatic
#092611 #145828 #1F8A3F #2ABC56 #4CD776

Accessibility & contrast

On white

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

On black

4.77
#1F8A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A3F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A3F#FFFFFF#000000##000000
##1F8A3F1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8a3f;
/* rgb */ color: rgb(31, 138, 63);
/* oklch */ color: oklch(55.8% 0.146 148.5);
Tailwind
colors: {
  custom: {
    50: '#6dad76',
    500: '#1f8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a3f;
$custom-light: #6dad76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a3f",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 137.944,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.14585,
    "h": 148.5
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#1F8A3F
secondary
#BA4B99
accent
#41B5E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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