#1F9D2E#1F9D2E

#1F9D2E is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.183 H 144.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#1F9D2E
RGBrgb(31, 157, 46)
HSLhsl(127, 67%, 37%)
HSVhsv(127, 80%, 62%)
CMYKcmyk(80.3%, 0%, 70.7%, 38.4%)
CIE-LABlab(56.68, -54.93, 46.59)
CIE-LCHlch(56.68, 72.02, 139.70°)
OKLaboklab(60.86% -0.1484 0.1067)
OKLCHoklch(60.86% 0.183 144.3)
XYZxyz(13.1143, 24.6009, 6.6415)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D2E #9D1F8E
analogous
#4F9D1F #1F9D2E #1F9D6D
triadic
#1F9D2E #2E1F9D #9D2E1F
tetradic
#1F9D2E #1F4F9D #9D1F8E #9D6D1F
square
#1F9D2E #1F4F9D #9D1F8E #9D6D1F
split-complementary
#1F9D2E #6D1F9D #9D1F4F
monochromatic
#0B3710 #156A1F #1F9D2E #29D03D #58DE68

Accessibility & contrast

On white

3.55
#1F9D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#1F9D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D2E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D2E#FFFFFF#000000##000000
##1F9D2E1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1D
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d2e;
/* rgb */ color: rgb(31, 157, 46);
/* oklch */ color: oklch(60.9% 0.183 144.3);
Tailwind
colors: {
  custom: {
    50: '#72bb6d',
    500: '#1f9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d2e;
$custom-light: #72bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d2e",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 127.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.18279,
    "h": 144.3
  },
  "luminance": 0.24603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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