#1F8949#1F8949

#1F8949 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.135 H 151.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F8949
RGBrgb(31, 137, 73)
HSLhsl(144, 63%, 33%)
HSVhsv(144, 77%, 54%)
CMYKcmyk(77.4%, 0%, 46.7%, 46.3%)
CIE-LABlab(50.29, -44.21, 26.09)
CIE-LCHlch(50.29, 51.34, 149.46°)
OKLaboklab(55.65% -0.1189 0.0641)
OKLCHoklch(55.65% 0.135 151.7)
XYZxyz(10.7124, 18.6624, 9.3397)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8949 #891F5F
analogous
#2A891F #1F8949 #1F897E
triadic
#1F8949 #491F89 #89491F
tetradic
#1F8949 #1F2A89 #891F5F #897E1F
square
#1F8949 #1F2A89 #891F5F #897E1F
split-complementary
#1F8949 #7E1F89 #891F2A
monochromatic
#082514 #14572E #1F8949 #2ABB64 #4CD683

Accessibility & contrast

On white

4.44
#1F8949 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#1F8949 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8949
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8949#FFFFFF#000000##000000
##1F89491.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D44
Deuteranopia (green-blind)
#7D744D
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8949;
/* rgb */ color: rgb(31, 137, 73);
/* oklch */ color: oklch(55.7% 0.135 151.7);
Tailwind
colors: {
  custom: {
    50: '#6cac7d',
    500: '#1f8949',
    950: '#000000',
  },
}
SCSS
$custom: #1f8949;
$custom-light: #6cac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8949",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 73
  },
  "hsl": {
    "h": 143.774,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55652,
    "c": 0.13506,
    "h": 151.7
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#1F8949
secondary
#B94B8D
accent
#42A5E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8949

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

Preview Lab → · Contrast checker → · Palette generator →

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