#1F863A#1F863A

#1F863A is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.145 H 147.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F863A
RGBrgb(31, 134, 58)
HSLhsl(136, 62%, 32%)
HSVhsv(136, 77%, 53%)
CMYKcmyk(76.9%, 0%, 56.7%, 47.5%)
CIE-LABlab(49.06, -45.57, 32.48)
CIE-LCHlch(49.06, 55.96, 144.51°)
OKLaboklab(54.57% -0.1226 0.0777)
OKLCHoklch(54.57% 0.145 147.6)
XYZxyz(9.8531, 17.6458, 6.8889)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F863A #861F6B
analogous
#38861F #1F863A #1F866D
triadic
#1F863A #3A1F86 #863A1F
tetradic
#1F863A #1F3886 #861F6B #866D1F
square
#1F863A #1F3886 #861F6B #866D1F
split-complementary
#1F863A #6D1F86 #861F38
monochromatic
#08230F #145424 #1F863A #2AB850 #4AD56F

Accessibility & contrast

On white

4.64
#1F863A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#1F863A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F863A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F863A#FFFFFF#000000##FFFFFF
##1F863A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A33
Deuteranopia (green-blind)
#7C7140
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f863a;
/* rgb */ color: rgb(31, 134, 58);
/* oklch */ color: oklch(54.6% 0.145 147.6);
Tailwind
colors: {
  custom: {
    50: '#6caa72',
    500: '#1f863a',
    950: '#000000',
  },
}
SCSS
$custom: #1f863a;
$custom-light: #6caa72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f863a",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 58
  },
  "hsl": {
    "h": 135.728,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.14514,
    "h": 147.6
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#1F863A
secondary
#B8499B
accent
#42BBE5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F863A

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

Preview Lab → · Contrast checker → · Palette generator →

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