#1F9A2F#1F9A2F

#1F9A2F is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.0% C 0.179 H 144.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1F9A2F
RGBrgb(31, 154, 47)
HSLhsl(128, 66%, 36%)
HSVhsv(128, 80%, 60%)
CMYKcmyk(79.9%, 0%, 69.5%, 39.6%)
CIE-LABlab(55.69, -53.85, 45.12)
CIE-LCHlch(55.69, 70.25, 140.04°)
OKLaboklab(60.03% -0.1454 0.1037)
OKLCHoklch(60.03% 0.179 144.5)
XYZxyz(12.6329, 23.6062, 6.5794)
Luminance0.2361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A2F #9A1F8A
analogous
#4D9A1F #1F9A2F #1F9A6D
triadic
#1F9A2F #2F1F9A #9A2F1F
tetradic
#1F9A2F #1F4D9A #9A1F8A #9A6D1F
square
#1F9A2F #1F4D9A #9A1F8A #9A6D1F
split-complementary
#1F9A2F #6D1F9A #9A1F4D
monochromatic
#0A3410 #15671F #1F9A2F #29CD3F #56DD68

Accessibility & contrast

On white

3.67
#1F9A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#1F9A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A2F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A2F#FFFFFF#000000##000000
##1F9A2F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B20
Deuteranopia (green-blind)
#8F8239
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9a2f;
/* rgb */ color: rgb(31, 154, 47);
/* oklch */ color: oklch(60.0% 0.179 144.5);
Tailwind
colors: {
  custom: {
    50: '#72b96d',
    500: '#1f9a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a2f;
$custom-light: #72b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a2f",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 127.805,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.17864,
    "h": 144.5
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#1F9A2F
secondary
#C154B3
accent
#3ED3E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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