#1F8B36#1F8B36

#1F8B36 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.155 H 146.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8B36
RGBrgb(31, 139, 54)
HSLhsl(133, 64%, 33%)
HSVhsv(133, 78%, 55%)
CMYKcmyk(77.7%, 0%, 61.2%, 45.5%)
CIE-LABlab(50.71, -47.92, 36.42)
CIE-LCHlch(50.71, 60.19, 142.77°)
OKLaboklab(55.92% -0.1291 0.0859)
OKLCHoklch(55.92% 0.155 146.3)
XYZxyz(10.4628, 19.0217, 6.6094)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B36 #8B1F74
analogous
#3E8B1F #1F8B36 #1F8B6C
triadic
#1F8B36 #361F8B #8B361F
tetradic
#1F8B36 #1F3E8B #8B1F74 #8B6C1F
square
#1F8B36 #1F3E8B #8B1F74 #8B6C1F
split-complementary
#1F8B36 #6C1F8B #8B1F3E
monochromatic
#09270F #145923 #1F8B36 #2ABD49 #4DD76B

Accessibility & contrast

On white

4.37
#1F8B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F8B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B36
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B36#FFFFFF#000000##000000
##1F8B361.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2D
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b36;
/* rgb */ color: rgb(31, 139, 54);
/* oklch */ color: oklch(55.9% 0.155 146.3);
Tailwind
colors: {
  custom: {
    50: '#6dae70',
    500: '#1f8b36',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b36;
$custom-light: #6dae70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b36",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 132.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.15507,
    "h": 146.3
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#1F8B36
secondary
#BA4CA3
accent
#41C3E7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8B36

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

Preview Lab → · Contrast checker → · Palette generator →

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