#1F8B34#1F8B34

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

Color values

HEX#1F8B34
RGBrgb(31, 139, 52)
HSLhsl(132, 64%, 33%)
HSVhsv(132, 78%, 55%)
CMYKcmyk(77.7%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.69, -48.18, 37.36)
CIE-LCHlch(50.69, 60.97, 142.21°)
OKLaboklab(55.9% -0.1298 0.0878)
OKLCHoklch(55.9% 0.157 145.9)
XYZxyz(10.4168, 19.0033, 6.3672)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B34 #8B1F76
analogous
#408B1F #1F8B34 #1F8B6A
triadic
#1F8B34 #341F8B #8B341F
tetradic
#1F8B34 #1F408B #8B1F76 #8B6A1F
square
#1F8B34 #1F408B #8B1F76 #8B6A1F
split-complementary
#1F8B34 #6A1F8B #8B1F40
monochromatic
#09270F #145921 #1F8B34 #2ABD47 #4DD768

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B34#FFFFFF#000000##000000
##1F8B341.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)
#8D7E2A
Deuteranopia (green-blind)
#81753B
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b34;
/* rgb */ color: rgb(31, 139, 52);
/* oklch */ color: oklch(55.9% 0.157 145.9);
Tailwind
colors: {
  custom: {
    50: '#6dae6f',
    500: '#1f8b34',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b34;
$custom-light: #6dae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b34",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 131.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.15673,
    "h": 145.9
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#1F8B34
secondary
#BA4CA5
accent
#41C6E7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8B34

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

Preview Lab → · Contrast checker → · Palette generator →

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