#1F9D2D#1F9D2D

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

Color values

HEX#1F9D2D
RGBrgb(31, 157, 45)
HSLhsl(127, 67%, 37%)
HSVhsv(127, 80%, 62%)
CMYKcmyk(80.3%, 0%, 71.3%, 38.4%)
CIE-LABlab(56.68, -55.02, 46.98)
CIE-LCHlch(56.68, 72.35, 139.51°)
OKLaboklab(60.85% -0.1487 0.1074)
OKLCHoklch(60.85% 0.183 144.2)
XYZxyz(13.0948, 24.5931, 6.5389)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D2D #9D1F8F
analogous
#509D1F #1F9D2D #1F9D6C
triadic
#1F9D2D #2D1F9D #9D2D1F
tetradic
#1F9D2D #1F509D #9D1F8F #9D6C1F
square
#1F9D2D #1F509D #9D1F8F #9D6C1F
split-complementary
#1F9D2D #6C1F9D #9D1F50
monochromatic
#0B3710 #156A1E #1F9D2D #29D03C #58DE67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9D2D#FFFFFF#000000##000000
##1F9D2D1.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)
#A08E1C
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d2d;
/* rgb */ color: rgb(31, 157, 45);
/* oklch */ color: oklch(60.8% 0.183 144.2);
Tailwind
colors: {
  custom: {
    50: '#72bb6c',
    500: '#1f9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d2d;
$custom-light: #72bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d2d",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 126.667,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.18344,
    "h": 144.2
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

primary
#1F9D2D
secondary
#C256B6
accent
#3ED7EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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