#1F8246#1F8246

#1F8246 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.128 H 151.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8246
RGBrgb(31, 130, 70)
HSLhsl(144, 61%, 32%)
HSVhsv(144, 76%, 51%)
CMYKcmyk(76.2%, 0%, 46.2%, 49%)
CIE-LABlab(47.88, -42.06, 24.63)
CIE-LCHlch(47.88, 48.74, 149.64°)
OKLaboklab(53.64% -0.1132 0.0606)
OKLCHoklch(53.64% 0.128 151.8)
XYZxyz(9.6524, 16.6976, 8.5074)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8246 #821F5B
analogous
#2A821F #1F8246 #1F8278
triadic
#1F8246 #461F82 #82461F
tetradic
#1F8246 #1F2A82 #821F5B #82781F
square
#1F8246 #1F2A82 #821F5B #82781F
split-complementary
#1F8246 #781F82 #821F2A
monochromatic
#071F11 #13512B #1F8246 #2BB361 #48D37F

Accessibility & contrast

On white

4.84
#1F8246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8246
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8246#FFFFFF#000000##FFFFFF
##1F82461.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827741
Deuteranopia (green-blind)
#776E4A
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8246;
/* rgb */ color: rgb(31, 130, 70);
/* oklch */ color: oklch(53.6% 0.128 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ba77a',
    500: '#1f8246',
    950: '#000000',
  },
}
SCSS
$custom: #1f8246;
$custom-light: #6ba77a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8246",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 70
  },
  "hsl": {
    "h": 143.636,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.12837,
    "h": 151.8
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#1F8246
secondary
#B5488A
accent
#43A5E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8246

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

Preview Lab → · Contrast checker → · Palette generator →

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