#1F8143#1F8143

#1F8143 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.130 H 150.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F8143
RGBrgb(31, 129, 67)
HSLhsl(142, 61%, 31%)
HSVhsv(142, 76%, 51%)
CMYKcmyk(76%, 0%, 48.1%, 49.4%)
CIE-LABlab(47.49, -42.21, 25.78)
CIE-LCHlch(47.49, 49.46, 148.59°)
OKLaboklab(53.31% -0.1135 0.0631)
OKLCHoklch(53.31% 0.13 150.9)
XYZxyz(9.4277, 16.3960, 7.9770)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8143 #811F5D
analogous
#2C811F #1F8143 #1F8174
triadic
#1F8143 #431F81 #81431F
tetradic
#1F8143 #1F2C81 #811F5D #81741F
square
#1F8143 #1F2C81 #811F5D #81741F
split-complementary
#1F8143 #741F81 #811F2C
monochromatic
#071E10 #135029 #1F8143 #2BB25D #47D37B

Accessibility & contrast

On white

4.91
#1F8143 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1F8143 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8143
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8143#FFFFFF#000000##FFFFFF
##1F81431.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763E
Deuteranopia (green-blind)
#766D47
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8143;
/* rgb */ color: rgb(31, 129, 67);
/* oklch */ color: oklch(53.3% 0.130 150.9);
Tailwind
colors: {
  custom: {
    50: '#6aa678',
    500: '#1f8143',
    950: '#000000',
  },
}
SCSS
$custom: #1f8143;
$custom-light: #6aa678;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8143",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 67
  },
  "hsl": {
    "h": 142.041,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.12992,
    "h": 150.9
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#1F8143
secondary
#B4488C
accent
#43A9E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8143

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

Preview Lab → · Contrast checker → · Palette generator →

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