#1F8043#1F8043

#1F8043 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.129 H 151.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8043
RGBrgb(31, 128, 67)
HSLhsl(142, 61%, 31%)
HSVhsv(142, 76%, 50%)
CMYKcmyk(75.8%, 0%, 47.7%, 49.8%)
CIE-LABlab(47.15, -41.82, 25.34)
CIE-LCHlch(47.15, 48.90, 148.78°)
OKLaboklab(53.03% -0.1125 0.0621)
OKLCHoklch(53.03% 0.129 151.1)
XYZxyz(9.2966, 16.1338, 7.9333)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8043 #801F5C
analogous
#2B801F #1F8043 #1F8073
triadic
#1F8043 #431F80 #80431F
tetradic
#1F8043 #1F2B80 #801F5C #80731F
square
#1F8043 #1F2B80 #801F5C #80731F
split-complementary
#1F8043 #731F80 #801F2B
monochromatic
#071D0F #134F29 #1F8043 #2BB15D #47D27B

Accessibility & contrast

On white

4.97
#1F8043 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1F8043 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8043
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8043#FFFFFF#000000##FFFFFF
##1F80431.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753E
Deuteranopia (green-blind)
#756D47
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8043;
/* rgb */ color: rgb(31, 128, 67);
/* oklch */ color: oklch(53.0% 0.129 151.1);
Tailwind
colors: {
  custom: {
    50: '#6aa678',
    500: '#1f8043',
    950: '#000000',
  },
}
SCSS
$custom: #1f8043;
$custom-light: #6aa678;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8043",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 142.268,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.12853,
    "h": 151.1
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#1F8043
secondary
#B3488B
accent
#44A9E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8043

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

Preview Lab → · Contrast checker → · Palette generator →

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