#1F8E27#1F8E27

#1F8E27 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.170 H 143.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F8E27
RGBrgb(31, 142, 39)
HSLhsl(124, 64%, 34%)
HSVhsv(124, 78%, 56%)
CMYKcmyk(78.2%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.59, -50.64, 44.07)
CIE-LCHlch(51.59, 67.13, 138.97°)
OKLaboklab(56.6% -0.1371 0.1005)
OKLCHoklch(56.6% 0.17 143.7)
XYZxyz(10.6036, 19.7825, 5.1786)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E27 #8E1F86
analogous
#4F8E1F #1F8E27 #1F8E5F
triadic
#1F8E27 #271F8E #8E271F
tetradic
#1F8E27 #1F4F8E #8E1F86 #8E5F1F
square
#1F8E27 #1F4F8E #8E1F86 #8E5F1F
split-complementary
#1F8E27 #5F1F8E #8E1F4F
monochromatic
#092A0B #145C19 #1F8E27 #2AC035 #4FD959

Accessibility & contrast

On white

4.24
#1F8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#1F8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E27
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E27#FFFFFF#000000##000000
##1F8E271.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8e27;
/* rgb */ color: rgb(31, 142, 39);
/* oklch */ color: oklch(56.6% 0.170 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fb067',
    500: '#1f8e27',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e27;
$custom-light: #6fb067;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e27",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 124.324,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.17,
    "h": 143.7
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#1F8E27
secondary
#BB4DB4
accent
#41DBE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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