#1F8034#1F8034

#1F8034 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.143 H 146.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F8034
RGBrgb(31, 128, 52)
HSLhsl(133, 61%, 31%)
HSVhsv(133, 76%, 50%)
CMYKcmyk(75.8%, 0%, 59.4%, 49.8%)
CIE-LABlab(46.94, -44.23, 33.00)
CIE-LCHlch(46.94, 55.19, 143.27°)
OKLaboklab(52.79% -0.1191 0.0784)
OKLCHoklch(52.79% 0.143 146.7)
XYZxyz(8.9034, 15.9766, 5.8627)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8034 #801F6B
analogous
#3A801F #1F8034 #1F8064
triadic
#1F8034 #341F80 #80341F
tetradic
#1F8034 #1F3A80 #801F6B #80641F
square
#1F8034 #1F3A80 #801F6B #80641F
split-complementary
#1F8034 #641F80 #801F3A
monochromatic
#071D0C #134F20 #1F8034 #2BB148 #47D265

Accessibility & contrast

On white

5.01
#1F8034 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1F8034 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8034
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8034#FFFFFF#000000##FFFFFF
##1F80341.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742C
Deuteranopia (green-blind)
#776C3A
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8034;
/* rgb */ color: rgb(31, 128, 52);
/* oklch */ color: oklch(52.8% 0.143 146.7);
Tailwind
colors: {
  custom: {
    50: '#6ba66e',
    500: '#1f8034',
    950: '#000000',
  },
}
SCSS
$custom: #1f8034;
$custom-light: #6ba66e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8034",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 132.99,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.14261,
    "h": 146.7
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#1F8034
secondary
#B3489C
accent
#44C1E4
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #1F8034

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

Preview Lab → · Contrast checker → · Palette generator →

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