#1F8A34#1F8A34

#1F8A34 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.155 H 146.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F8A34
RGBrgb(31, 138, 52)
HSLhsl(132, 63%, 33%)
HSVhsv(132, 78%, 54%)
CMYKcmyk(77.5%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.35, -47.83, 36.97)
CIE-LCHlch(50.35, 60.45, 142.30°)
OKLaboklab(55.61% -0.1289 0.0869)
OKLCHoklch(55.61% 0.155 146)
XYZxyz(10.2726, 18.7150, 6.3191)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A34 #8A1F75
analogous
#3F8A1F #1F8A34 #1F8A69
triadic
#1F8A34 #341F8A #8A341F
tetradic
#1F8A34 #1F3F8A #8A1F75 #8A691F
square
#1F8A34 #1F3F8A #8A1F75 #8A691F
split-complementary
#1F8A34 #691F8A #8A1F3F
monochromatic
#09260E #145821 #1F8A34 #2ABC47 #4CD768

Accessibility & contrast

On white

4.43
#1F8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#1F8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A34
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A34#FFFFFF#000000##000000
##1F8A341.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2B
Deuteranopia (green-blind)
#80753B
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a34;
/* rgb */ color: rgb(31, 138, 52);
/* oklch */ color: oklch(55.6% 0.155 146.0);
Tailwind
colors: {
  custom: {
    50: '#6dad6f',
    500: '#1f8a34',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a34;
$custom-light: #6dad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a34",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 131.776,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.15548,
    "h": 146
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#1F8A34
secondary
#BA4BA4
accent
#41C6E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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