#1F9E2A#1F9E2A

#1F9E2A is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.186 H 143.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1F9E2A
RGBrgb(31, 158, 42)
HSLhsl(125, 67%, 37%)
HSVhsv(125, 80%, 62%)
CMYKcmyk(80.4%, 0%, 73.4%, 38%)
CIE-LABlab(56.99, -55.62, 48.48)
CIE-LCHlch(56.99, 73.78, 138.92°)
OKLaboklab(61.1% -0.1505 0.1101)
OKLCHoklch(61.1% 0.186 143.8)
XYZxyz(13.2090, 24.9106, 6.3021)
Luminance0.2491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E2A #9E1F93
analogous
#549E1F #1F9E2A #1F9E6A
triadic
#1F9E2A #2A1F9E #9E2A1F
tetradic
#1F9E2A #1F549E #9E1F93 #9E6A1F
square
#1F9E2A #1F549E #9E1F93 #9E6A1F
split-complementary
#1F9E2A #6A1F9E #9E1F54
monochromatic
#0B380F #156B1C #1F9E2A #29D138 #59DE65

Accessibility & contrast

On white

3.51
#1F9E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#1F9E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E2A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E2A#FFFFFF#000000##000000
##1F9E2A1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F16
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e2a;
/* rgb */ color: rgb(31, 158, 42);
/* oklch */ color: oklch(61.1% 0.186 143.8);
Tailwind
colors: {
  custom: {
    50: '#73bc6b',
    500: '#1f9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e2a;
$custom-light: #73bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e2a",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 125.197,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61098,
    "c": 0.18647,
    "h": 143.8
  },
  "luminance": 0.24912
}

Semantic roles & 50–950 ramp

primary
#1F9E2A
secondary
#C256B9
accent
#3EDBEA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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