#1F8746#1F8746

#1F8746 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.135 H 151.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F8746
RGBrgb(31, 135, 70)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 77%, 53%)
CMYKcmyk(77%, 0%, 48.1%, 47.1%)
CIE-LABlab(49.57, -43.99, 26.79)
CIE-LCHlch(49.57, 51.50, 148.65°)
OKLaboklab(55.04% -0.1183 0.0656)
OKLCHoklch(55.04% 0.135 151)
XYZxyz(10.3337, 18.0602, 8.7345)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8746 #871F60
analogous
#2C871F #1F8746 #1F877A
triadic
#1F8746 #461F87 #87461F
tetradic
#1F8746 #1F2C87 #871F60 #877A1F
square
#1F8746 #1F2C87 #871F60 #877A1F
split-complementary
#1F8746 #7A1F87 #871F2C
monochromatic
#082312 #14552C #1F8746 #2AB960 #4BD67F

Accessibility & contrast

On white

4.55
#1F8746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#1F8746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8746
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8746#FFFFFF#000000##000000
##1F87461.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B41
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8746;
/* rgb */ color: rgb(31, 135, 70);
/* oklch */ color: oklch(55.0% 0.135 151.0);
Tailwind
colors: {
  custom: {
    50: '#6cab7a',
    500: '#1f8746',
    950: '#000000',
  },
}
SCSS
$custom: #1f8746;
$custom-light: #6cab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8746",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 70
  },
  "hsl": {
    "h": 142.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.13524,
    "h": 151
  },
  "luminance": 0.18061
}

Semantic roles & 50–950 ramp

primary
#1F8746
secondary
#B84A8F
accent
#42A8E6
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8746

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

Preview Lab → · Contrast checker → · Palette generator →

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