#1F8F4E#1F8F4E

#1F8F4E is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.138 H 152.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F8F4E
RGBrgb(31, 143, 78)
HSLhsl(145, 64%, 34%)
HSVhsv(145, 78%, 56%)
CMYKcmyk(78.3%, 0%, 45.5%, 43.9%)
CIE-LABlab(52.38, -45.59, 26.07)
CIE-LCHlch(52.38, 52.51, 150.24°)
OKLaboklab(57.41% -0.1226 0.0642)
OKLCHoklch(57.41% 0.138 152.4)
XYZxyz(11.7616, 20.4849, 10.5404)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F4E #8F1F60
analogous
#288F1F #1F8F4E #1F8F86
triadic
#1F8F4E #4E1F8F #8F4E1F
tetradic
#1F8F4E #1F288F #8F1F60 #8F861F
square
#1F8F4E #1F288F #8F1F60 #8F861F
split-complementary
#1F8F4E #861F8F #8F1F28
monochromatic
#092A17 #145D33 #1F8F4E #2AC169 #4FD989

Accessibility & contrast

On white

4.12
#1F8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#1F8F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F4E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F4E#FFFFFF#000000##000000
##1F8F4E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8349
Deuteranopia (green-blind)
#827953
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f4e;
/* rgb */ color: rgb(31, 143, 78);
/* oklch */ color: oklch(57.4% 0.138 152.4);
Tailwind
colors: {
  custom: {
    50: '#6eb180',
    500: '#1f8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f4e;
$custom-light: #6eb180;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f4e",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 145.179,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57407,
    "c": 0.13838,
    "h": 152.4
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#1F8F4E
secondary
#BC4E8E
accent
#40A1E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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