#1F8634#1F8634

#1F8634 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.150 H 146.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8634
RGBrgb(31, 134, 52)
HSLhsl(132, 62%, 32%)
HSVhsv(132, 77%, 53%)
CMYKcmyk(76.9%, 0%, 61.2%, 47.5%)
CIE-LABlab(48.99, -46.41, 35.40)
CIE-LCHlch(48.99, 58.37, 142.67°)
OKLaboklab(54.49% -0.125 0.0836)
OKLCHoklch(54.49% 0.15 146.2)
XYZxyz(9.7093, 17.5883, 6.1313)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8634 #861F71
analogous
#3E861F #1F8634 #1F8668
triadic
#1F8634 #341F86 #86341F
tetradic
#1F8634 #1F3E86 #861F71 #86681F
square
#1F8634 #1F3E86 #861F71 #86681F
split-complementary
#1F8634 #681F86 #861F3E
monochromatic
#08230D #145421 #1F8634 #2AB847 #4AD567

Accessibility & contrast

On white

4.65
#1F8634 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#1F8634 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8634
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8634#FFFFFF#000000##FFFFFF
##1F86341.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88792B
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8634;
/* rgb */ color: rgb(31, 134, 52);
/* oklch */ color: oklch(54.5% 0.150 146.2);
Tailwind
colors: {
  custom: {
    50: '#6caa6e',
    500: '#1f8634',
    950: '#000000',
  },
}
SCSS
$custom: #1f8634;
$custom-light: #6caa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8634",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 52
  },
  "hsl": {
    "h": 132.233,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.1504,
    "h": 146.2
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#1F8634
secondary
#B849A1
accent
#42C4E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8634

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

Preview Lab → · Contrast checker → · Palette generator →

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