#1F8142#1F8142

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

Color values

HEX#1F8142
RGBrgb(31, 129, 66)
HSLhsl(141, 61%, 31%)
HSVhsv(141, 76%, 51%)
CMYKcmyk(76%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.47, -42.39, 26.30)
CIE-LCHlch(47.47, 49.89, 148.18°)
OKLaboklab(53.29% -0.114 0.0643)
OKLCHoklch(53.29% 0.131 150.6)
XYZxyz(9.3979, 16.3841, 7.8204)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8142 #811F5E
analogous
#2D811F #1F8142 #1F8173
triadic
#1F8142 #421F81 #81421F
tetradic
#1F8142 #1F2D81 #811F5E #81731F
square
#1F8142 #1F2D81 #811F5E #81731F
split-complementary
#1F8142 #731F81 #811F2D
monochromatic
#071E10 #135029 #1F8142 #2BB25B #47D379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8142#FFFFFF#000000##FFFFFF
##1F81421.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)
#82763D
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8142;
/* rgb */ color: rgb(31, 129, 66);
/* oklch */ color: oklch(53.3% 0.131 150.6);
Tailwind
colors: {
  custom: {
    50: '#6aa677',
    500: '#1f8142',
    950: '#000000',
  },
}
SCSS
$custom: #1f8142;
$custom-light: #6aa677;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8142",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 141.429,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.13089,
    "h": 150.6
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

primary
#1F8142
secondary
#B4488D
accent
#43ABE4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8142

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

Preview Lab → · Contrast checker → · Palette generator →

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