#1F8A3C#1F8A3C

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

Color values

HEX#1F8A3C
RGBrgb(31, 138, 60)
HSLhsl(136, 63%, 33%)
HSVhsv(136, 78%, 54%)
CMYKcmyk(77.5%, 0%, 56.5%, 45.9%)
CIE-LABlab(50.44, -46.73, 33.13)
CIE-LCHlch(50.44, 57.28, 144.67°)
OKLaboklab(55.72% -0.1257 0.0792)
OKLCHoklch(55.72% 0.149 147.8)
XYZxyz(10.4684, 18.7933, 7.3498)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A3C #8A1F6D
analogous
#378A1F #1F8A3C #1F8A71
triadic
#1F8A3C #3C1F8A #8A3C1F
tetradic
#1F8A3C #1F378A #8A1F6D #8A711F
square
#1F8A3C #1F378A #8A1F6D #8A711F
split-complementary
#1F8A3C #711F8A #8A1F37
monochromatic
#092611 #145826 #1F8A3C #2ABC52 #4CD772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A3C#FFFFFF#000000##000000
##1F8A3C1.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)
#8C7D35
Deuteranopia (green-blind)
#7F7542
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a3c;
/* rgb */ color: rgb(31, 138, 60);
/* oklch */ color: oklch(55.7% 0.149 147.8);
Tailwind
colors: {
  custom: {
    50: '#6dad74',
    500: '#1f8a3c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a3c;
$custom-light: #6dad74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a3c",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 136.262,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.14857,
    "h": 147.8
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#1F8A3C
secondary
#BA4B9C
accent
#41BAE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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