#1F8437#1F8437

#1F8437 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.145 H 147.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F8437
RGBrgb(31, 132, 55)
HSLhsl(134, 62%, 32%)
HSVhsv(134, 77%, 52%)
CMYKcmyk(76.5%, 0%, 58.3%, 48.2%)
CIE-LABlab(48.35, -45.27, 33.15)
CIE-LCHlch(48.35, 56.11, 143.79°)
OKLaboklab(53.96% -0.1219 0.0789)
OKLCHoklch(53.96% 0.145 147.1)
XYZxyz(9.5052, 17.0686, 6.4073)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8437 #841F6C
analogous
#3A841F #1F8437 #1F8469
triadic
#1F8437 #371F84 #84371F
tetradic
#1F8437 #1F3A84 #841F6C #84691F
square
#1F8437 #1F3A84 #841F6C #84691F
split-complementary
#1F8437 #691F84 #841F3A
monochromatic
#08210E #135222 #1F8437 #2BB64C #49D46A

Accessibility & contrast

On white

4.76
#1F8437 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#1F8437 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8437
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8437#FFFFFF#000000##FFFFFF
##1F84371.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#008173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8437;
/* rgb */ color: rgb(31, 132, 55);
/* oklch */ color: oklch(54.0% 0.145 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ca970',
    500: '#1f8437',
    950: '#000000',
  },
}
SCSS
$custom: #1f8437;
$custom-light: #6ca970;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8437",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 134.257,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.1452,
    "h": 147.1
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#1F8437
secondary
#B7489C
accent
#43BEE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8437

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

Preview Lab → · Contrast checker → · Palette generator →

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