#1F8745#1F8745

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

Color values

HEX#1F8745
RGBrgb(31, 135, 69)
HSLhsl(142, 63%, 33%)
HSVhsv(142, 77%, 53%)
CMYKcmyk(77%, 0%, 48.9%, 47.1%)
CIE-LABlab(49.55, -44.16, 27.31)
CIE-LCHlch(49.55, 51.93, 148.26°)
OKLaboklab(55.02% -0.1187 0.0667)
OKLCHoklch(55.02% 0.136 150.7)
XYZxyz(10.3024, 18.0477, 8.5697)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8745 #871F61
analogous
#2D871F #1F8745 #1F8779
triadic
#1F8745 #451F87 #87451F
tetradic
#1F8745 #1F2D87 #871F61 #87791F
square
#1F8745 #1F2D87 #871F61 #87791F
split-complementary
#1F8745 #791F87 #871F2D
monochromatic
#082312 #14552C #1F8745 #2AB95E #4BD67E

Accessibility & contrast

On white

4.56
#1F8745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8745#FFFFFF#000000##000000
##1F87451.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#7C724A
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8745;
/* rgb */ color: rgb(31, 135, 69);
/* oklch */ color: oklch(55.0% 0.136 150.7);
Tailwind
colors: {
  custom: {
    50: '#6cab7a',
    500: '#1f8745',
    950: '#000000',
  },
}
SCSS
$custom: #1f8745;
$custom-light: #6cab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8745",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 141.923,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.1362,
    "h": 150.7
  },
  "luminance": 0.18049
}

Semantic roles & 50–950 ramp

primary
#1F8745
secondary
#B84A90
accent
#42AAE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8745

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

Preview Lab → · Contrast checker → · Palette generator →

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