#1F8249#1F8249

#1F8249 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.125 H 153.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8249
RGBrgb(31, 130, 73)
HSLhsl(145, 61%, 32%)
HSVhsv(145, 76%, 51%)
CMYKcmyk(76.2%, 0%, 43.8%, 49%)
CIE-LABlab(47.93, -41.49, 23.04)
CIE-LCHlch(47.93, 47.46, 150.96°)
OKLaboklab(53.7% -0.1117 0.057)
OKLCHoklch(53.7% 0.125 153)
XYZxyz(9.7494, 16.7365, 9.0187)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8249 #821F58
analogous
#26821F #1F8249 #1F827B
triadic
#1F8249 #491F82 #82491F
tetradic
#1F8249 #1F2682 #821F58 #827B1F
square
#1F8249 #1F2682 #821F58 #827B1F
split-complementary
#1F8249 #7B1F82 #821F26
monochromatic
#071F12 #13512D #1F8249 #2BB365 #48D383

Accessibility & contrast

On white

4.83
#1F8249 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#1F8249 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8249
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8249#FFFFFF#000000##FFFFFF
##1F82491.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827745
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8249;
/* rgb */ color: rgb(31, 130, 73);
/* oklch */ color: oklch(53.7% 0.125 153.0);
Tailwind
colors: {
  custom: {
    50: '#6ba77c',
    500: '#1f8249',
    950: '#000000',
  },
}
SCSS
$custom: #1f8249;
$custom-light: #6ba77c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8249",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 145.455,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.12543,
    "h": 153
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#1F8249
secondary
#B54887
accent
#43A0E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8249

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

Preview Lab → · Contrast checker → · Palette generator →

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