#1F9D2B#1F9D2B

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

Color values

HEX#1F9D2B
RGBrgb(31, 157, 43)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 80%, 62%)
CMYKcmyk(80.3%, 0%, 72.6%, 38.4%)
CIE-LABlab(56.66, -55.21, 47.76)
CIE-LCHlch(56.66, 73.00, 139.14°)
OKLaboklab(60.83% -0.1493 0.1088)
OKLCHoklch(60.83% 0.185 143.9)
XYZxyz(13.0572, 24.5781, 6.3409)
Luminance0.2458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D2B #9D1F91
analogous
#529D1F #1F9D2B #1F9D6A
triadic
#1F9D2B #2B1F9D #9D2B1F
tetradic
#1F9D2B #1F529D #9D1F91 #9D6A1F
square
#1F9D2B #1F529D #9D1F91 #9D6A1F
split-complementary
#1F9D2B #6A1F9D #9D1F52
monochromatic
#0B370F #156A1D #1F9D2B #29D039 #58DE65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9D2B#FFFFFF#000000##000000
##1F9D2B1.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)
#A08E18
Deuteranopia (green-blind)
#938437
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d2b;
/* rgb */ color: rgb(31, 157, 43);
/* oklch */ color: oklch(60.8% 0.185 143.9);
Tailwind
colors: {
  custom: {
    50: '#73bb6b',
    500: '#1f9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d2b;
$custom-light: #73bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d2b",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 125.714,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.18472,
    "h": 143.9
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#1F9D2B
secondary
#C256B8
accent
#3EDAEA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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