#1F9F2B#1F9F2B

#1F9F2B is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.4% C 0.187 H 143.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F9F2B
RGBrgb(31, 159, 43)
HSLhsl(126, 67%, 37%)
HSVhsv(126, 81%, 62%)
CMYKcmyk(80.5%, 0%, 73%, 37.6%)
CIE-LABlab(57.33, -55.85, 48.45)
CIE-LCHlch(57.33, 73.93, 139.06°)
OKLaboklab(61.38% -0.1511 0.1102)
OKLCHoklch(61.38% 0.187 143.9)
XYZxyz(13.3984, 25.2604, 6.4546)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F2B #9F1F93
analogous
#539F1F #1F9F2B #1F9F6B
triadic
#1F9F2B #2B1F9F #9F2B1F
tetradic
#1F9F2B #1F539F #9F1F93 #9F6B1F
square
#1F9F2B #1F539F #9F1F93 #9F6B1F
split-complementary
#1F9F2B #6B1F9F #9F1F53
monochromatic
#0B390F #156C1D #1F9F2B #29D239 #5ADF66

Accessibility & contrast

On white

3.47
#1F9F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#1F9F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F2B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F2B#FFFFFF#000000##000000
##1F9F2B1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F17
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f2b;
/* rgb */ color: rgb(31, 159, 43);
/* oklch */ color: oklch(61.4% 0.187 143.9);
Tailwind
colors: {
  custom: {
    50: '#73bd6b',
    500: '#1f9f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f2b;
$custom-light: #73bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f2b",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 125.625,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.18698,
    "h": 143.9
  },
  "luminance": 0.25262
}

Semantic roles & 50–950 ramp

primary
#1F9F2B
secondary
#C357B9
accent
#3EDAEA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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