#1F9D2C#1F9D2C

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

Color values

HEX#1F9D2C
RGBrgb(31, 157, 44)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 80%, 62%)
CMYKcmyk(80.3%, 0%, 72%, 38.4%)
CIE-LABlab(56.67, -55.11, 47.37)
CIE-LCHlch(56.67, 72.68, 139.32°)
OKLaboklab(60.84% -0.149 0.1081)
OKLCHoklch(60.84% 0.184 144)
XYZxyz(13.0758, 24.5855, 6.4387)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D2C #9D1F90
analogous
#519D1F #1F9D2C #1F9D6B
triadic
#1F9D2C #2C1F9D #9D2C1F
tetradic
#1F9D2C #1F519D #9D1F90 #9D6B1F
square
#1F9D2C #1F519D #9D1F90 #9D6B1F
split-complementary
#1F9D2C #6B1F9D #9D1F51
monochromatic
#0B370F #156A1E #1F9D2C #29D03A #58DE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9D2C#FFFFFF#000000##000000
##1F9D2C1.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)
#A08E1A
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d2c;
/* rgb */ color: rgb(31, 157, 44);
/* oklch */ color: oklch(60.8% 0.184 144.0);
Tailwind
colors: {
  custom: {
    50: '#72bb6c',
    500: '#1f9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d2c;
$custom-light: #72bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d2c",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 126.19,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60837,
    "c": 0.18409,
    "h": 144
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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