#1F9E2C#1F9E2C

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

Color values

HEX#1F9E2C
RGBrgb(31, 158, 44)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 80%, 62%)
CMYKcmyk(80.4%, 0%, 72.2%, 38%)
CIE-LABlab(57.00, -55.44, 47.72)
CIE-LCHlch(57.00, 73.15, 139.28°)
OKLaboklab(61.11% -0.1499 0.1088)
OKLCHoklch(61.11% 0.185 144)
XYZxyz(13.2457, 24.9253, 6.4954)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E2C #9E1F91
analogous
#519E1F #1F9E2C #1F9E6C
triadic
#1F9E2C #2C1F9E #9E2C1F
tetradic
#1F9E2C #1F519E #9E1F91 #9E6C1F
square
#1F9E2C #1F519E #9E1F91 #9E6C1F
split-complementary
#1F9E2C #6C1F9E #9E1F51
monochromatic
#0B3810 #156B1E #1F9E2C #29D13A #59DE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9E2C#FFFFFF#000000##000000
##1F9E2C1.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)
#A18F19
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#009A87
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e2c;
/* rgb */ color: rgb(31, 158, 44);
/* oklch */ color: oklch(61.1% 0.185 144.0);
Tailwind
colors: {
  custom: {
    50: '#73bc6c',
    500: '#1f9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e2c;
$custom-light: #73bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e2c",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 126.142,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.18522,
    "h": 144
  },
  "luminance": 0.24927
}

Semantic roles & 50–950 ramp

primary
#1F9E2C
secondary
#C256B7
accent
#3ED8EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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