#1F8243#1F8243

#1F8243 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.131 H 150.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8243
RGBrgb(31, 130, 67)
HSLhsl(142, 61%, 32%)
HSVhsv(142, 76%, 51%)
CMYKcmyk(76.2%, 0%, 48.5%, 49%)
CIE-LABlab(47.83, -42.60, 26.21)
CIE-LCHlch(47.83, 50.02, 148.40°)
OKLaboklab(53.59% -0.1146 0.0641)
OKLCHoklch(53.59% 0.131 150.8)
XYZxyz(9.5600, 16.6607, 8.0211)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8243 #821F5E
analogous
#2D821F #1F8243 #1F8275
triadic
#1F8243 #431F82 #82431F
tetradic
#1F8243 #1F2D82 #821F5E #82751F
square
#1F8243 #1F2D82 #821F5E #82751F
split-complementary
#1F8243 #751F82 #821F2D
monochromatic
#071F10 #13512A #1F8243 #2BB35C #48D37B

Accessibility & contrast

On white

4.85
#1F8243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8243
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8243#FFFFFF#000000##FFFFFF
##1F82431.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763E
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8243;
/* rgb */ color: rgb(31, 130, 67);
/* oklch */ color: oklch(53.6% 0.131 150.8);
Tailwind
colors: {
  custom: {
    50: '#6ba778',
    500: '#1f8243',
    950: '#000000',
  },
}
SCSS
$custom: #1f8243;
$custom-light: #6ba778;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8243",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 141.818,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.13129,
    "h": 150.8
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#1F8243
secondary
#B5488D
accent
#43AAE5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8243

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

Preview Lab → · Contrast checker → · Palette generator →

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