#1F9F2A#1F9F2A

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

Color values

HEX#1F9F2A
RGBrgb(31, 159, 42)
HSLhsl(125, 67%, 37%)
HSVhsv(125, 81%, 62%)
CMYKcmyk(80.5%, 0%, 73.6%, 37.6%)
CIE-LABlab(57.32, -55.94, 48.82)
CIE-LCHlch(57.32, 74.24, 138.89°)
OKLaboklab(61.38% -0.1513 0.1109)
OKLCHoklch(61.38% 0.188 143.8)
XYZxyz(13.3802, 25.2531, 6.3592)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F2A #9F1F94
analogous
#549F1F #1F9F2A #1F9F6A
triadic
#1F9F2A #2A1F9F #9F2A1F
tetradic
#1F9F2A #1F549F #9F1F94 #9F6A1F
square
#1F9F2A #1F549F #9F1F94 #9F6A1F
split-complementary
#1F9F2A #6A1F9F #9F1F54
monochromatic
#0B390F #156C1C #1F9F2A #29D238 #5ADF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9F2A#FFFFFF#000000##000000
##1F9F2A1.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)
#A28F15
Deuteranopia (green-blind)
#948636
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f2a;
/* rgb */ color: rgb(31, 159, 42);
/* oklch */ color: oklch(61.4% 0.188 143.8);
Tailwind
colors: {
  custom: {
    50: '#73bd6b',
    500: '#1f9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f2a;
$custom-light: #73bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f2a",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 125.156,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.18759,
    "h": 143.8
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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