#1F9F1A#1F9F1A

#1F9F1A is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.3% C 0.196 H 142.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1F9F1A
RGBrgb(31, 159, 26)
HSLhsl(118, 72%, 36%)
HSVhsv(118, 84%, 62%)
CMYKcmyk(80.5%, 0%, 83.6%, 37.6%)
CIE-LABlab(57.23, -57.06, 53.98)
CIE-LCHlch(57.23, 78.54, 136.59°)
OKLaboklab(61.27% -0.1551 0.1194)
OKLCHoklch(61.27% 0.196 142.4)
XYZxyz(13.1488, 25.1606, 5.1406)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F1A #9A1A9F
analogous
#629F1A #1F9F1A #1A9F58
triadic
#1F9F1A #1A1F9F #9F1A1F
tetradic
#1F9F1A #1A629F #9A1A9F #9F581A
square
#1F9F1A #1A629F #9A1A9F #9F581A
split-complementary
#1F9F1A #581A9F #9F1A62
monochromatic
#0A3609 #156A11 #1F9F1A #29D423 #56E351

Accessibility & contrast

On white

3.48
#1F9F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#1F9F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F1A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F1A#FFFFFF#000000##000000
##1F9F1A1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#009A87
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9f1a;
/* rgb */ color: rgb(31, 159, 26);
/* oklch */ color: oklch(61.3% 0.196 142.4);
Tailwind
colors: {
  custom: {
    50: '#74bd64',
    500: '#1f9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f1a;
$custom-light: #74bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f1a",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 117.744,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.19573,
    "h": 142.4
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#1F9F1A
secondary
#C150C5
accent
#39EFE8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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