#1F9128#1F9128

#1F9128 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.173 H 143.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1F9128
RGBrgb(31, 145, 40)
HSLhsl(125, 65%, 35%)
HSVhsv(125, 79%, 57%)
CMYKcmyk(78.6%, 0%, 72.4%, 43.1%)
CIE-LABlab(52.61, -51.55, 44.74)
CIE-LCHlch(52.61, 68.25, 139.05°)
OKLaboklab(57.46% -0.1395 0.1021)
OKLCHoklch(57.46% 0.173 143.8)
XYZxyz(11.0727, 20.6940, 5.4178)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9128 #911F88
analogous
#4F911F #1F9128 #1F9161
triadic
#1F9128 #281F91 #91281F
tetradic
#1F9128 #1F4F91 #911F88 #91611F
square
#1F9128 #1F4F91 #911F88 #91611F
split-complementary
#1F9128 #611F91 #911F4F
monochromatic
#092C0C #145F1A #1F9128 #2AC336 #51DA5B

Accessibility & contrast

On white

4.09
#1F9128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#1F9128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9128
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9128#FFFFFF#000000##000000
##1F91281.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9128;
/* rgb */ color: rgb(31, 145, 40);
/* oklch */ color: oklch(57.5% 0.173 143.8);
Tailwind
colors: {
  custom: {
    50: '#70b268',
    500: '#1f9128',
    950: '#000000',
  },
}
SCSS
$custom: #1f9128;
$custom-light: #70b268;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9128",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 40
  },
  "hsl": {
    "h": 124.737,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.17285,
    "h": 143.8
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#1F9128
secondary
#BD4FB4
accent
#40DBE8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9128

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

Preview Lab → · Contrast checker → · Palette generator →

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