#1F8F49#1F8F49

#1F8F49 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.143 H 150.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8F49
RGBrgb(31, 143, 73)
HSLhsl(143, 64%, 34%)
HSVhsv(143, 78%, 56%)
CMYKcmyk(78.3%, 0%, 49%, 43.9%)
CIE-LABlab(52.30, -46.48, 28.65)
CIE-LCHlch(52.30, 54.60, 148.35°)
OKLaboklab(57.32% -0.1249 0.07)
OKLCHoklch(57.32% 0.143 150.7)
XYZxyz(11.5891, 20.4159, 9.6319)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F49 #8F1F65
analogous
#2D8F1F #1F8F49 #1F8F81
triadic
#1F8F49 #491F8F #8F491F
tetradic
#1F8F49 #1F2D8F #8F1F65 #8F811F
square
#1F8F49 #1F2D8F #8F1F65 #8F811F
split-complementary
#1F8F49 #811F8F #8F1F2D
monochromatic
#092A16 #145D2F #1F8F49 #2AC163 #4FD983

Accessibility & contrast

On white

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

On black

5.08
#1F8F49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F49
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F49#FFFFFF#000000##000000
##1F8F491.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908243
Deuteranopia (green-blind)
#83794E
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f49;
/* rgb */ color: rgb(31, 143, 73);
/* oklch */ color: oklch(57.3% 0.143 150.7);
Tailwind
colors: {
  custom: {
    50: '#6eb17d',
    500: '#1f8f49',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f49;
$custom-light: #6eb17d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f49",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 73
  },
  "hsl": {
    "h": 142.5,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.14315,
    "h": 150.7
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#1F8F49
secondary
#BC4E93
accent
#40A9E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F8F49

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

Preview Lab → · Contrast checker → · Palette generator →

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