#1F9328#1F9328

#1F9328 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.0% C 0.175 H 143.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1F9328
RGBrgb(31, 147, 40)
HSLhsl(125, 65%, 35%)
HSVhsv(125, 79%, 58%)
CMYKcmyk(78.9%, 0%, 72.8%, 42.4%)
CIE-LABlab(53.29, -52.21, 45.44)
CIE-LCHlch(53.29, 69.21, 138.97°)
OKLaboklab(58.02% -0.1413 0.1035)
OKLCHoklch(58.02% 0.175 143.8)
XYZxyz(11.3810, 21.3106, 5.5206)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9328 #931F8A
analogous
#50931F #1F9328 #1F9362
triadic
#1F9328 #281F93 #93281F
tetradic
#1F9328 #1F5093 #931F8A #93621F
square
#1F9328 #1F5093 #931F8A #93621F
split-complementary
#1F9328 #621F93 #931F50
monochromatic
#0A2E0C #14601A #1F9328 #2AC636 #52DA5D

Accessibility & contrast

On white

3.99
#1F9328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#1F9328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9328
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9328#FFFFFF#000000##000000
##1F93281.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968516
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9328;
/* rgb */ color: rgb(31, 147, 40);
/* oklch */ color: oklch(58.0% 0.175 143.8);
Tailwind
colors: {
  custom: {
    50: '#70b468',
    500: '#1f9328',
    950: '#000000',
  },
}
SCSS
$custom: #1f9328;
$custom-light: #70b468;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9328",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 40
  },
  "hsl": {
    "h": 124.655,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.17516,
    "h": 143.8
  },
  "luminance": 0.21312
}

Semantic roles & 50–950 ramp

primary
#1F9328
secondary
#BE50B5
accent
#40DBE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9328

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

Preview Lab → · Contrast checker → · Palette generator →

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