#1F9D3E#1F9D3E

#1F9D3E is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.0% C 0.171 H 146.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#1F9D3E
RGBrgb(31, 157, 62)
HSLhsl(135, 67%, 37%)
HSVhsv(135, 80%, 62%)
CMYKcmyk(80.3%, 0%, 60.5%, 38.4%)
CIE-LABlab(56.83, -53.12, 39.69)
CIE-LCHlch(56.83, 66.31, 143.24°)
OKLaboklab(61.03% -0.1429 0.0937)
OKLCHoklch(61.03% 0.171 146.8)
XYZxyz(13.4905, 24.7514, 8.6230)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D3E #9D1F7E
analogous
#3F9D1F #1F9D3E #1F9D7D
triadic
#1F9D3E #3E1F9D #9D3E1F
tetradic
#1F9D3E #1F3F9D #9D1F7E #9D7D1F
square
#1F9D3E #1F3F9D #9D1F7E #9D7D1F
split-complementary
#1F9D3E #7D1F9D #9D1F3F
monochromatic
#0B3716 #156A2A #1F9D3E #29D052 #58DE79

Accessibility & contrast

On white

3.53
#1F9D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#1F9D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D3E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D3E#FFFFFF#000000##000000
##1F9D3E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E34
Deuteranopia (green-blind)
#918546
Tritanopia (blue-blind)
#009988
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d3e;
/* rgb */ color: rgb(31, 157, 62);
/* oklch */ color: oklch(61.0% 0.171 146.8);
Tailwind
colors: {
  custom: {
    50: '#72bb76',
    500: '#1f9d3e',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d3e;
$custom-light: #72bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d3e",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 62
  },
  "hsl": {
    "h": 134.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.17086,
    "h": 146.8
  },
  "luminance": 0.24753
}

Semantic roles & 50–950 ramp

primary
#1F9D3E
secondary
#C256A7
accent
#3EC0EA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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