#1F9C2A#1F9C2A

#1F9C2A is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.5% C 0.184 H 143.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F9C2A
RGBrgb(31, 156, 42)
HSLhsl(125, 67%, 37%)
HSVhsv(125, 80%, 61%)
CMYKcmyk(80.1%, 0%, 73.1%, 38.8%)
CIE-LABlab(56.32, -54.97, 47.79)
CIE-LCHlch(56.32, 72.84, 139.00°)
OKLaboklab(60.54% -0.1487 0.1087)
OKLCHoklch(60.54% 0.184 143.8)
XYZxyz(12.8706, 24.2339, 6.1893)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C2A #9C1F91
analogous
#539C1F #1F9C2A #1F9C69
triadic
#1F9C2A #2A1F9C #9C2A1F
tetradic
#1F9C2A #1F539C #9C1F91 #9C691F
square
#1F9C2A #1F539C #9C1F91 #9C691F
split-complementary
#1F9C2A #691F9C #9C1F53
monochromatic
#0B360F #15691C #1F9C2A #29CF38 #58DE63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9C2A#FFFFFF#000000##000000
##1F9C2A1.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)
#9F8D17
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9c2a;
/* rgb */ color: rgb(31, 156, 42);
/* oklch */ color: oklch(60.5% 0.184 143.8);
Tailwind
colors: {
  custom: {
    50: '#72ba6b',
    500: '#1f9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c2a;
$custom-light: #72ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c2a",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 125.28,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.18422,
    "h": 143.8
  },
  "luminance": 0.24235
}

Semantic roles & 50–950 ramp

primary
#1F9C2A
secondary
#C155B8
accent
#3EDBEA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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