#1F9E2F#1F9E2F

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

Color values

HEX#1F9E2F
RGBrgb(31, 158, 47)
HSLhsl(128, 67%, 37%)
HSVhsv(128, 80%, 62%)
CMYKcmyk(80.4%, 0%, 70.3%, 38%)
CIE-LABlab(57.03, -55.16, 46.54)
CIE-LCHlch(57.03, 72.17, 139.84°)
OKLaboklab(61.14% -0.149 0.1067)
OKLCHoklch(61.14% 0.183 144.4)
XYZxyz(13.3041, 24.9487, 6.8032)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E2F #9E1F8E
analogous
#4F9E1F #1F9E2F #1F9E6F
triadic
#1F9E2F #2F1F9E #9E2F1F
tetradic
#1F9E2F #1F4F9E #9E1F8E #9E6F1F
square
#1F9E2F #1F4F9E #9E1F8E #9E6F1F
split-complementary
#1F9E2F #6F1F9E #9E1F4F
monochromatic
#0B3811 #156B20 #1F9E2F #29D13E #59DE6A

Accessibility & contrast

On white

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

On black

5.99
#1F9E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E2F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E2F#FFFFFF#000000##000000
##1F9E2F1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1F
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e2f;
/* rgb */ color: rgb(31, 158, 47);
/* oklch */ color: oklch(61.1% 0.183 144.4);
Tailwind
colors: {
  custom: {
    50: '#73bc6e',
    500: '#1f9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e2f;
$custom-light: #73bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e2f",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 127.559,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.18327,
    "h": 144.4
  },
  "luminance": 0.2495
}

Semantic roles & 50–950 ramp

primary
#1F9E2F
secondary
#C256B5
accent
#3ED4EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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