#1F8F4B#1F8F4B

#1F8F4B is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.141 H 151.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F8F4B
RGBrgb(31, 143, 75)
HSLhsl(144, 64%, 34%)
HSVhsv(144, 78%, 56%)
CMYKcmyk(78.3%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.33, -46.13, 27.62)
CIE-LCHlch(52.33, 53.77, 149.09°)
OKLaboklab(57.35% -0.124 0.0677)
OKLCHoklch(57.35% 0.141 151.4)
XYZxyz(11.6565, 20.4428, 9.9868)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F4B #8F1F63
analogous
#2B8F1F #1F8F4B #1F8F83
triadic
#1F8F4B #4B1F8F #8F4B1F
tetradic
#1F8F4B #1F2B8F #8F1F63 #8F831F
square
#1F8F4B #1F2B8F #8F1F63 #8F831F
split-complementary
#1F8F4B #831F8F #8F1F2B
monochromatic
#092A16 #145D31 #1F8F4B #2AC165 #4FD985

Accessibility & contrast

On white

4.13
#1F8F4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#1F8F4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F4B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F4B#FFFFFF#000000##000000
##1F8F4B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908246
Deuteranopia (green-blind)
#837950
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f4b;
/* rgb */ color: rgb(31, 143, 75);
/* oklch */ color: oklch(57.4% 0.141 151.4);
Tailwind
colors: {
  custom: {
    50: '#6eb17e',
    500: '#1f8f4b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f4b;
$custom-light: #6eb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f4b",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 143.571,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.14125,
    "h": 151.4
  },
  "luminance": 0.20444
}

Semantic roles & 50–950 ramp

primary
#1F8F4B
secondary
#BC4E91
accent
#40A6E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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