#1F8A4B#1F8A4B

#1F8A4B is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.134 H 152.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8A4B
RGBrgb(31, 138, 75)
HSLhsl(145, 63%, 33%)
HSVhsv(145, 78%, 54%)
CMYKcmyk(77.5%, 0%, 45.7%, 45.9%)
CIE-LABlab(50.66, -44.23, 25.47)
CIE-LCHlch(50.66, 51.04, 150.06°)
OKLaboklab(55.97% -0.119 0.0627)
OKLCHoklch(55.97% 0.134 152.2)
XYZxyz(10.9226, 18.9750, 9.7421)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A4B #8A1F5E
analogous
#288A1F #1F8A4B #1F8A80
triadic
#1F8A4B #4B1F8A #8A4B1F
tetradic
#1F8A4B #1F288A #8A1F5E #8A801F
square
#1F8A4B #1F288A #8A1F5E #8A801F
split-complementary
#1F8A4B #801F8A #8A1F28
monochromatic
#092615 #145830 #1F8A4B #2ABC66 #4CD785

Accessibility & contrast

On white

4.38
#1F8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F8A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A4B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A4B#FFFFFF#000000##000000
##1F8A4B1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E46
Deuteranopia (green-blind)
#7E754F
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a4b;
/* rgb */ color: rgb(31, 138, 75);
/* oklch */ color: oklch(56.0% 0.134 152.2);
Tailwind
colors: {
  custom: {
    50: '#6cad7e',
    500: '#1f8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a4b;
$custom-light: #6cad7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a4b",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 144.673,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.13449,
    "h": 152.2
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#1F8A4B
secondary
#BA4B8C
accent
#41A3E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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