#1F8035#1F8035

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

Color values

HEX#1F8035
RGBrgb(31, 128, 53)
HSLhsl(134, 61%, 31%)
HSVhsv(134, 76%, 50%)
CMYKcmyk(75.8%, 0%, 58.6%, 49.8%)
CIE-LABlab(46.96, -44.09, 32.51)
CIE-LCHlch(46.96, 54.78, 143.60°)
OKLaboklab(52.8% -0.1187 0.0774)
OKLCHoklch(52.8% 0.142 146.9)
XYZxyz(8.9262, 15.9857, 5.9826)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8035 #801F6A
analogous
#39801F #1F8035 #1F8065
triadic
#1F8035 #351F80 #80351F
tetradic
#1F8035 #1F3980 #801F6A #80651F
square
#1F8035 #1F3980 #801F6A #80651F
split-complementary
#1F8035 #651F80 #801F39
monochromatic
#071D0C #134F21 #1F8035 #2BB149 #47D267

Accessibility & contrast

On white

5.00
#1F8035 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F8035
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8035#FFFFFF#000000##FFFFFF
##1F80351.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742E
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8035;
/* rgb */ color: rgb(31, 128, 53);
/* oklch */ color: oklch(52.8% 0.142 146.9);
Tailwind
colors: {
  custom: {
    50: '#6ba66e',
    500: '#1f8035',
    950: '#000000',
  },
}
SCSS
$custom: #1f8035;
$custom-light: #6ba66e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8035",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 53
  },
  "hsl": {
    "h": 133.608,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52803,
    "c": 0.14172,
    "h": 146.9
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#1F8035
secondary
#B3489B
accent
#44C0E4
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1F8035

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

Preview Lab → · Contrast checker → · Palette generator →

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