#1F8E54#1F8E54

#1F8E54 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.131 H 154.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1F8E54
RGBrgb(31, 142, 84)
HSLhsl(149, 64%, 34%)
HSVhsv(149, 78%, 56%)
CMYKcmyk(78.2%, 0%, 40.8%, 44.3%)
CIE-LABlab(52.15, -44.05, 22.48)
CIE-LCHlch(52.15, 49.45, 152.96°)
OKLaboklab(57.25% -0.1187 0.056)
OKLCHoklch(57.25% 0.131 154.7)
XYZxyz(11.8372, 20.2760, 11.6756)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E54 #8E1F59
analogous
#218E1F #1F8E54 #1F8E8C
triadic
#1F8E54 #541F8E #8E541F
tetradic
#1F8E54 #1F218E #8E1F59 #8E8C1F
square
#1F8E54 #1F218E #8E1F59 #8E8C1F
split-complementary
#1F8E54 #8C1F8E #8E1F21
monochromatic
#092A19 #145C36 #1F8E54 #2AC072 #4FD991

Accessibility & contrast

On white

4.15
#1F8E54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1F8E54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E54
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E54#FFFFFF#000000##000000
##1F8E541.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8250
Deuteranopia (green-blind)
#807958
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8e54;
/* rgb */ color: rgb(31, 142, 84);
/* oklch */ color: oklch(57.2% 0.131 154.7);
Tailwind
colors: {
  custom: {
    50: '#6db084',
    500: '#1f8e54',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e54;
$custom-light: #6db084;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e54",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 84
  },
  "hsl": {
    "h": 148.649,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.13125,
    "h": 154.7
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#1F8E54
secondary
#BB4D87
accent
#4198E7
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F8E54

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

Preview Lab → · Contrast checker → · Palette generator →

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