#1F8E25#1F8E25

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

Color values

HEX#1F8E25
RGBrgb(31, 142, 37)
HSLhsl(123, 64%, 34%)
HSVhsv(123, 78%, 56%)
CMYKcmyk(78.2%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.58, -50.82, 44.85)
CIE-LCHlch(51.58, 67.78, 138.57°)
OKLaboklab(56.59% -0.1377 0.1019)
OKLCHoklch(56.59% 0.171 143.5)
XYZxyz(10.5713, 19.7696, 5.0087)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E25 #8E1F88
analogous
#518E1F #1F8E25 #1F8E5D
triadic
#1F8E25 #251F8E #8E251F
tetradic
#1F8E25 #1F518E #8E1F88 #8E5D1F
square
#1F8E25 #1F518E #8E1F88 #8E5D1F
split-complementary
#1F8E25 #5D1F8E #8E1F51
monochromatic
#092A0B #145C18 #1F8E25 #2AC032 #4FD956

Accessibility & contrast

On white

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

On black

4.95
#1F8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E25
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E25#FFFFFF#000000##000000
##1F8E251.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8e25;
/* rgb */ color: rgb(31, 142, 37);
/* oklch */ color: oklch(56.6% 0.171 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fb066',
    500: '#1f8e25',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e25;
$custom-light: #6fb066;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e25",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 123.243,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56587,
    "c": 0.17127,
    "h": 143.5
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#1F8E25
secondary
#BB4DB6
accent
#41DEE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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