#1F9C2F#1F9C2F

#1F9C2F is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.6% C 0.181 H 144.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F9C2F
RGBrgb(31, 156, 47)
HSLhsl(128, 67%, 37%)
HSVhsv(128, 80%, 61%)
CMYKcmyk(80.1%, 0%, 69.9%, 38.8%)
CIE-LABlab(56.36, -54.50, 45.84)
CIE-LCHlch(56.36, 71.21, 139.94°)
OKLaboklab(60.59% -0.1472 0.1052)
OKLCHoklch(60.59% 0.181 144.4)
XYZxyz(12.9657, 24.2719, 6.6904)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C2F #9C1F8C
analogous
#4E9C1F #1F9C2F #1F9C6E
triadic
#1F9C2F #2F1F9C #9C2F1F
tetradic
#1F9C2F #1F4E9C #9C1F8C #9C6E1F
square
#1F9C2F #1F4E9C #9C1F8C #9C6E1F
split-complementary
#1F9C2F #6E1F9C #9C1F4E
monochromatic
#0B3610 #156920 #1F9C2F #29CF3E #58DE69

Accessibility & contrast

On white

3.59
#1F9C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#1F9C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9C2F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9C2F#FFFFFF#000000##000000
##1F9C2F1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#91833A
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9c2f;
/* rgb */ color: rgb(31, 156, 47);
/* oklch */ color: oklch(60.6% 0.181 144.4);
Tailwind
colors: {
  custom: {
    50: '#72ba6d',
    500: '#1f9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c2f;
$custom-light: #72ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c2f",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 127.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.18096,
    "h": 144.4
  },
  "luminance": 0.24273
}

Semantic roles & 50–950 ramp

primary
#1F9C2F
secondary
#C155B4
accent
#3ED4EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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