#1F9A34#1F9A34

#1F9A34 is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.1% C 0.175 H 145.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#1F9A34
RGBrgb(31, 154, 52)
HSLhsl(130, 66%, 36%)
HSVhsv(130, 80%, 60%)
CMYKcmyk(79.9%, 0%, 66.2%, 39.6%)
CIE-LABlab(55.73, -53.32, 43.02)
CIE-LCHlch(55.73, 68.51, 141.10°)
OKLaboklab(60.08% -0.1438 0.0999)
OKLCHoklch(60.08% 0.175 145.2)
XYZxyz(12.7396, 23.6489, 7.1414)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A34 #9A1F85
analogous
#489A1F #1F9A34 #1F9A72
triadic
#1F9A34 #341F9A #9A341F
tetradic
#1F9A34 #1F489A #9A1F85 #9A721F
square
#1F9A34 #1F489A #9A1F85 #9A721F
split-complementary
#1F9A34 #721F9A #9A1F48
monochromatic
#0A3412 #156723 #1F9A34 #29CD45 #56DD6D

Accessibility & contrast

On white

3.66
#1F9A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#1F9A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A34
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A34#FFFFFF#000000##000000
##1F9A341.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B27
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#009685
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9a34;
/* rgb */ color: rgb(31, 154, 52);
/* oklch */ color: oklch(60.1% 0.175 145.2);
Tailwind
colors: {
  custom: {
    50: '#71b970',
    500: '#1f9a34',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a34;
$custom-light: #71b970;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a34",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 52
  },
  "hsl": {
    "h": 130.244,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60082,
    "c": 0.17506,
    "h": 145.2
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

primary
#1F9A34
secondary
#C154AE
accent
#3ECCE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091208
muted
#7B817B

Preview Lab

Preview with #1F9A34

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

Preview Lab → · Contrast checker → · Palette generator →

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