#1F8E45#1F8E45

#1F8E45 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.146 H 149.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F8E45
RGBrgb(31, 142, 69)
HSLhsl(141, 64%, 34%)
HSVhsv(141, 78%, 56%)
CMYKcmyk(78.2%, 0%, 51.4%, 44.3%)
CIE-LABlab(51.91, -46.78, 30.27)
CIE-LCHlch(51.91, 55.72, 147.09°)
OKLaboklab(56.97% -0.1257 0.0734)
OKLCHoklch(56.97% 0.146 149.7)
XYZxyz(11.3113, 20.0656, 8.9060)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E45 #8E1F68
analogous
#308E1F #1F8E45 #1F8E7D
triadic
#1F8E45 #451F8E #8E451F
tetradic
#1F8E45 #1F308E #8E1F68 #8E7D1F
square
#1F8E45 #1F308E #8E1F68 #8E7D1F
split-complementary
#1F8E45 #7D1F8E #8E1F30
monochromatic
#092A14 #145C2D #1F8E45 #2AC05D #4FD97E

Accessibility & contrast

On white

4.19
#1F8E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#1F8E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E45
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E45#FFFFFF#000000##000000
##1F8E451.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813F
Deuteranopia (green-blind)
#82784A
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8e45;
/* rgb */ color: rgb(31, 142, 69);
/* oklch */ color: oklch(57.0% 0.146 149.7);
Tailwind
colors: {
  custom: {
    50: '#6eb07a',
    500: '#1f8e45',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e45;
$custom-light: #6eb07a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e45",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 140.541,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.14558,
    "h": 149.7
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#1F8E45
secondary
#BB4D96
accent
#41AEE7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F8E45

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

Preview Lab → · Contrast checker → · Palette generator →

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