#1F8D35#1F8D35

#1F8D35 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.158 H 146.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8D35
RGBrgb(31, 141, 53)
HSLhsl(132, 64%, 34%)
HSVhsv(132, 78%, 55%)
CMYKcmyk(78%, 0%, 62.4%, 44.7%)
CIE-LABlab(51.38, -48.76, 37.67)
CIE-LCHlch(51.38, 61.61, 142.31°)
OKLaboklab(56.47% -0.1314 0.0885)
OKLCHoklch(56.47% 0.158 146)
XYZxyz(10.7318, 19.5968, 6.5844)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D35 #8D1F77
analogous
#408D1F #1F8D35 #1F8D6C
triadic
#1F8D35 #351F8D #8D351F
tetradic
#1F8D35 #1F408D #8D1F77 #8D6C1F
square
#1F8D35 #1F408D #8D1F77 #8D6C1F
split-complementary
#1F8D35 #6C1F8D #8D1F40
monochromatic
#09290F #145B22 #1F8D35 #2ABF48 #4ED86A

Accessibility & contrast

On white

4.27
#1F8D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F8D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D35
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D35#FFFFFF#000000##000000
##1F8D351.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802B
Deuteranopia (green-blind)
#83773C
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d35;
/* rgb */ color: rgb(31, 141, 53);
/* oklch */ color: oklch(56.5% 0.158 146.0);
Tailwind
colors: {
  custom: {
    50: '#6eaf6f',
    500: '#1f8d35',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d35;
$custom-light: #6eaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d35",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 132,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.15842,
    "h": 146
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#1F8D35
secondary
#BB4DA5
accent
#41C6E7
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8D35

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

Preview Lab → · Contrast checker → · Palette generator →

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