#1F863F#1F863F

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

Color values

HEX#1F863F
RGBrgb(31, 134, 63)
HSLhsl(139, 62%, 32%)
HSVhsv(139, 77%, 53%)
CMYKcmyk(76.9%, 0%, 53%, 47.5%)
CIE-LABlab(49.13, -44.79, 29.98)
CIE-LCHlch(49.13, 53.90, 146.21°)
OKLaboklab(54.64% -0.1204 0.0724)
OKLCHoklch(54.64% 0.141 149)
XYZxyz(9.9866, 17.6992, 7.5916)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F863F #861F66
analogous
#32861F #1F863F #1F8673
triadic
#1F863F #3F1F86 #863F1F
tetradic
#1F863F #1F3286 #861F66 #86731F
square
#1F863F #1F3286 #861F66 #86731F
split-complementary
#1F863F #731F86 #861F32
monochromatic
#082310 #145428 #1F863F #2AB856 #4AD575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F863F#FFFFFF#000000##FFFFFF
##1F863F1.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)
#877A39
Deuteranopia (green-blind)
#7B7144
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f863f;
/* rgb */ color: rgb(31, 134, 63);
/* oklch */ color: oklch(54.6% 0.141 149.0);
Tailwind
colors: {
  custom: {
    50: '#6caa75',
    500: '#1f863f',
    950: '#000000',
  },
}
SCSS
$custom: #1f863f;
$custom-light: #6caa75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f863f",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 63
  },
  "hsl": {
    "h": 138.641,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.14053,
    "h": 149
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#1F863F
secondary
#B84995
accent
#42B3E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F863F

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

Preview Lab → · Contrast checker → · Palette generator →

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