#1F863D#1F863D

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

Color values

HEX#1F863D
RGBrgb(31, 134, 61)
HSLhsl(137, 62%, 32%)
HSVhsv(137, 77%, 53%)
CMYKcmyk(76.9%, 0%, 54.5%, 47.5%)
CIE-LABlab(49.10, -45.11, 30.99)
CIE-LCHlch(49.10, 54.73, 145.51°)
OKLaboklab(54.61% -0.1213 0.0746)
OKLCHoklch(54.61% 0.142 148.4)
XYZxyz(9.9317, 17.6773, 7.3026)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F863D #861F68
analogous
#34861F #1F863D #1F8671
triadic
#1F863D #3D1F86 #863D1F
tetradic
#1F863D #1F3486 #861F68 #86711F
square
#1F863D #1F3486 #861F68 #86711F
split-complementary
#1F863D #711F86 #861F34
monochromatic
#082310 #145426 #1F863D #2AB854 #4AD573

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F863D#FFFFFF#000000##FFFFFF
##1F863D1.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)
#877A37
Deuteranopia (green-blind)
#7B7142
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f863d;
/* rgb */ color: rgb(31, 134, 61);
/* oklch */ color: oklch(54.6% 0.142 148.4);
Tailwind
colors: {
  custom: {
    50: '#6caa74',
    500: '#1f863d',
    950: '#000000',
  },
}
SCSS
$custom: #1f863d;
$custom-light: #6caa74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f863d",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 61
  },
  "hsl": {
    "h": 137.476,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.1424,
    "h": 148.4
  },
  "luminance": 0.17678
}

Semantic roles & 50–950 ramp

primary
#1F863D
secondary
#B84997
accent
#42B6E5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F863D

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

Preview Lab → · Contrast checker → · Palette generator →

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