#1F8546#1F8546

#1F8546 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.133 H 151.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8546
RGBrgb(31, 133, 70)
HSLhsl(143, 62%, 32%)
HSVhsv(143, 77%, 52%)
CMYKcmyk(76.7%, 0%, 47.4%, 47.8%)
CIE-LABlab(48.89, -43.22, 25.93)
CIE-LCHlch(48.89, 50.40, 149.04°)
OKLaboklab(54.48% -0.1162 0.0636)
OKLCHoklch(54.48% 0.133 151.3)
XYZxyz(10.0572, 17.5074, 8.6424)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8546 #851F5E
analogous
#2B851F #1F8546 #1F8579
triadic
#1F8546 #461F85 #85461F
tetradic
#1F8546 #1F2B85 #851F5E #85791F
square
#1F8546 #1F2B85 #851F5E #85791F
split-complementary
#1F8546 #791F85 #851F2B
monochromatic
#082212 #13532C #1F8546 #2BB760 #4AD57F

Accessibility & contrast

On white

4.66
#1F8546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1F8546 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8546
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8546#FFFFFF#000000##FFFFFF
##1F85461.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857941
Deuteranopia (green-blind)
#7A714A
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8546;
/* rgb */ color: rgb(31, 133, 70);
/* oklch */ color: oklch(54.5% 0.133 151.3);
Tailwind
colors: {
  custom: {
    50: '#6ba97a',
    500: '#1f8546',
    950: '#000000',
  },
}
SCSS
$custom: #1f8546;
$custom-light: #6ba97a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8546",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 142.941,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54482,
    "c": 0.1325,
    "h": 151.3
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#1F8546
secondary
#B7498D
accent
#43A7E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8546

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

Preview Lab → · Contrast checker → · Palette generator →

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