#1F8E35#1F8E35

#1F8E35 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.160 H 146.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F8E35
RGBrgb(31, 142, 53)
HSLhsl(132, 64%, 34%)
HSVhsv(132, 78%, 56%)
CMYKcmyk(78.2%, 0%, 62.7%, 44.3%)
CIE-LABlab(51.72, -49.11, 38.05)
CIE-LCHlch(51.72, 62.13, 142.23°)
OKLaboklab(56.75% -0.1323 0.0894)
OKLCHoklch(56.75% 0.16 146)
XYZxyz(10.8799, 19.8931, 6.6338)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8E35 #8E1F78
analogous
#418E1F #1F8E35 #1F8E6D
triadic
#1F8E35 #351F8E #8E351F
tetradic
#1F8E35 #1F418E #8E1F78 #8E6D1F
square
#1F8E35 #1F418E #8E1F78 #8E6D1F
split-complementary
#1F8E35 #6D1F8E #8E1F41
monochromatic
#092A10 #145C22 #1F8E35 #2AC048 #4FD96A

Accessibility & contrast

On white

4.22
#1F8E35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1F8E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8E35
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8E35#FFFFFF#000000##000000
##1F8E351.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812B
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8e35;
/* rgb */ color: rgb(31, 142, 53);
/* oklch */ color: oklch(56.7% 0.160 146.0);
Tailwind
colors: {
  custom: {
    50: '#6eb070',
    500: '#1f8e35',
    950: '#000000',
  },
}
SCSS
$custom: #1f8e35;
$custom-light: #6eb070;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8e35",
  "rgb": {
    "r": 31,
    "g": 142,
    "b": 53
  },
  "hsl": {
    "h": 131.892,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.15967,
    "h": 146
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#1F8E35
secondary
#BB4DA6
accent
#41C6E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F8E35

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

Preview Lab → · Contrast checker → · Palette generator →

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