#1F8736#1F8736

#1F8736 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.150 H 146.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F8736
RGBrgb(31, 135, 54)
HSLhsl(133, 63%, 33%)
HSVhsv(133, 77%, 53%)
CMYKcmyk(77%, 0%, 60%, 47.1%)
CIE-LABlab(49.36, -46.50, 34.84)
CIE-LCHlch(49.36, 58.10, 143.16°)
OKLaboklab(54.8% -0.1252 0.0825)
OKLCHoklch(54.8% 0.15 146.6)
XYZxyz(9.8942, 17.8844, 6.4199)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8736 #871F70
analogous
#3C871F #1F8736 #1F876A
triadic
#1F8736 #361F87 #87361F
tetradic
#1F8736 #1F3C87 #871F70 #876A1F
square
#1F8736 #1F3C87 #871F70 #876A1F
split-complementary
#1F8736 #6A1F87 #871F3C
monochromatic
#08230E #145522 #1F8736 #2AB94A #4BD669

Accessibility & contrast

On white

4.59
#1F8736 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F8736 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8736
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8736#FFFFFF#000000##FFFFFF
##1F87361.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A2E
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8736;
/* rgb */ color: rgb(31, 135, 54);
/* oklch */ color: oklch(54.8% 0.150 146.6);
Tailwind
colors: {
  custom: {
    50: '#6cab70',
    500: '#1f8736',
    950: '#000000',
  },
}
SCSS
$custom: #1f8736;
$custom-light: #6cab70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8736",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 54
  },
  "hsl": {
    "h": 133.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.14997,
    "h": 146.6
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#1F8736
secondary
#B84AA0
accent
#42C2E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8736

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

Preview Lab → · Contrast checker → · Palette generator →

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