#1F8245#1F8245

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

Color values

HEX#1F8245
RGBrgb(31, 130, 69)
HSLhsl(143, 61%, 32%)
HSVhsv(143, 76%, 51%)
CMYKcmyk(76.2%, 0%, 46.9%, 49%)
CIE-LABlab(47.86, -42.24, 25.16)
CIE-LCHlch(47.86, 49.16, 149.22°)
OKLaboklab(53.62% -0.1136 0.0618)
OKLCHoklch(53.62% 0.129 151.5)
XYZxyz(9.6211, 16.6851, 8.3426)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8245 #821F5C
analogous
#2B821F #1F8245 #1F8277
triadic
#1F8245 #451F82 #82451F
tetradic
#1F8245 #1F2B82 #821F5C #82771F
square
#1F8245 #1F2B82 #821F5C #82771F
split-complementary
#1F8245 #771F82 #821F2B
monochromatic
#071F11 #13512B #1F8245 #2BB35F #48D37E

Accessibility & contrast

On white

4.84
#1F8245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8245
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8245#FFFFFF#000000##FFFFFF
##1F82451.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827740
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8245;
/* rgb */ color: rgb(31, 130, 69);
/* oklch */ color: oklch(53.6% 0.129 151.5);
Tailwind
colors: {
  custom: {
    50: '#6ba779',
    500: '#1f8245',
    950: '#000000',
  },
}
SCSS
$custom: #1f8245;
$custom-light: #6ba779;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8245",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 143.03,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.12934,
    "h": 151.5
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#1F8245
secondary
#B5488B
accent
#43A7E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8245

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

Preview Lab → · Contrast checker → · Palette generator →

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