#1F9F2D#1F9F2D

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

Color values

HEX#1F9F2D
RGBrgb(31, 159, 45)
HSLhsl(127, 67%, 37%)
HSVhsv(127, 81%, 62%)
CMYKcmyk(80.5%, 0%, 71.7%, 37.6%)
CIE-LABlab(57.34, -55.67, 47.68)
CIE-LCHlch(57.34, 73.30, 139.42°)
OKLaboklab(61.4% -0.1505 0.1089)
OKLCHoklch(61.4% 0.186 144.1)
XYZxyz(13.4359, 25.2754, 6.6526)
Luminance0.2528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F2D #9F1F91
analogous
#519F1F #1F9F2D #1F9F6D
triadic
#1F9F2D #2D1F9F #9F2D1F
tetradic
#1F9F2D #1F519F #9F1F91 #9F6D1F
square
#1F9F2D #1F519F #9F1F91 #9F6D1F
split-complementary
#1F9F2D #6D1F9F #9F1F51
monochromatic
#0B3910 #156C1F #1F9F2D #29D23B #5ADF68

Accessibility & contrast

On white

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

On black

6.06
#1F9F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F2D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F2D#FFFFFF#000000##000000
##1F9F2D1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1B
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f2d;
/* rgb */ color: rgb(31, 159, 45);
/* oklch */ color: oklch(61.4% 0.186 144.1);
Tailwind
colors: {
  custom: {
    50: '#73bd6d',
    500: '#1f9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f2d;
$custom-light: #73bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f2d",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 126.563,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.614,
    "c": 0.18572,
    "h": 144.1
  },
  "luminance": 0.25277
}

Semantic roles & 50–950 ramp

primary
#1F9F2D
secondary
#C357B7
accent
#3ED7EA
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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