#1F8F35#1F8F35

#1F8F35 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.161 H 145.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F8F35
RGBrgb(31, 143, 53)
HSLhsl(132, 64%, 34%)
HSVhsv(132, 78%, 56%)
CMYKcmyk(78.3%, 0%, 62.9%, 43.9%)
CIE-LABlab(52.05, -49.46, 38.44)
CIE-LCHlch(52.05, 62.64, 142.14°)
OKLaboklab(57.03% -0.1333 0.0902)
OKLCHoklch(57.03% 0.161 145.9)
XYZxyz(11.0293, 20.1920, 6.6836)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F35 #8F1F79
analogous
#418F1F #1F8F35 #1F8F6D
triadic
#1F8F35 #351F8F #8F351F
tetradic
#1F8F35 #1F418F #8F1F79 #8F6D1F
square
#1F8F35 #1F418F #8F1F79 #8F6D1F
split-complementary
#1F8F35 #6D1F8F #8F1F41
monochromatic
#092A10 #145D22 #1F8F35 #2AC148 #4FD96A

Accessibility & contrast

On white

4.17
#1F8F35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#1F8F35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F35
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F35#FFFFFF#000000##000000
##1F8F351.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812B
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f35;
/* rgb */ color: rgb(31, 143, 53);
/* oklch */ color: oklch(57.0% 0.161 145.9);
Tailwind
colors: {
  custom: {
    50: '#6eb170',
    500: '#1f8f35',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f35;
$custom-light: #6eb170;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f35",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 131.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.16091,
    "h": 145.9
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#1F8F35
secondary
#BC4EA6
accent
#40C7E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F8F35

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

Preview Lab → · Contrast checker → · Palette generator →

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