#1F8D32#1F8D32

#1F8D32 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.161 H 145.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F8D32
RGBrgb(31, 141, 50)
HSLhsl(130, 64%, 34%)
HSVhsv(130, 78%, 55%)
CMYKcmyk(78%, 0%, 64.5%, 44.7%)
CIE-LABlab(51.35, -49.13, 39.04)
CIE-LCHlch(51.35, 62.75, 141.53°)
OKLaboklab(56.43% -0.1325 0.0912)
OKLCHoklch(56.43% 0.161 145.5)
XYZxyz(10.6649, 19.5701, 6.2323)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D32 #8D1F7A
analogous
#438D1F #1F8D32 #1F8D69
triadic
#1F8D32 #321F8D #8D321F
tetradic
#1F8D32 #1F438D #8D1F7A #8D691F
square
#1F8D32 #1F438D #8D1F7A #8D691F
split-complementary
#1F8D32 #691F8D #8D1F43
monochromatic
#09290E #145B20 #1F8D32 #2ABF44 #4ED866

Accessibility & contrast

On white

4.27
#1F8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1F8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D32
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D32#FFFFFF#000000##000000
##1F8D321.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8027
Deuteranopia (green-blind)
#83773A
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d32;
/* rgb */ color: rgb(31, 141, 50);
/* oklch */ color: oklch(56.4% 0.161 145.5);
Tailwind
colors: {
  custom: {
    50: '#6eaf6e',
    500: '#1f8d32',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d32;
$custom-light: #6eaf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d32",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 130.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.16083,
    "h": 145.5
  },
  "luminance": 0.19571
}

Semantic roles & 50–950 ramp

primary
#1F8D32
secondary
#BB4DA8
accent
#41CAE7
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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