#1F863E#1F863E

#1F863E is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.141 H 148.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1F863E
RGBrgb(31, 134, 62)
HSLhsl(138, 62%, 32%)
HSVhsv(138, 77%, 53%)
CMYKcmyk(76.9%, 0%, 53.7%, 47.5%)
CIE-LABlab(49.12, -44.95, 30.48)
CIE-LCHlch(49.12, 54.31, 145.86°)
OKLaboklab(54.63% -0.1209 0.0735)
OKLCHoklch(54.63% 0.141 148.7)
XYZxyz(9.9589, 17.6881, 7.4458)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F863E #861F67
analogous
#34861F #1F863E #1F8671
triadic
#1F863E #3E1F86 #863E1F
tetradic
#1F863E #1F3486 #861F67 #86711F
square
#1F863E #1F3486 #861F67 #86711F
split-complementary
#1F863E #711F86 #861F34
monochromatic
#082310 #145427 #1F863E #2AB855 #4AD574

Accessibility & contrast

On white

4.63
#1F863E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#1F863E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F863E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F863E#FFFFFF#000000##FFFFFF
##1F863E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A38
Deuteranopia (green-blind)
#7B7143
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f863e;
/* rgb */ color: rgb(31, 134, 62);
/* oklch */ color: oklch(54.6% 0.141 148.7);
Tailwind
colors: {
  custom: {
    50: '#6caa75',
    500: '#1f863e',
    950: '#000000',
  },
}
SCSS
$custom: #1f863e;
$custom-light: #6caa75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f863e",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 62
  },
  "hsl": {
    "h": 138.058,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.14148,
    "h": 148.7
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#1F863E
secondary
#B84996
accent
#42B4E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F863E

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

Preview Lab → · Contrast checker → · Palette generator →

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