#1F7124#1F7124

#1F7124 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.136 H 143.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#1F7124
RGBrgb(31, 113, 36)
HSLhsl(124, 57%, 28%)
HSVhsv(124, 73%, 44%)
CMYKcmyk(72.6%, 0%, 68.1%, 55.7%)
CIE-LABlab(41.58, -40.73, 34.66)
CIE-LCHlch(41.58, 53.48, 139.60°)
OKLaboklab(48.29% -0.1103 0.0804)
OKLCHoklch(48.29% 0.136 143.9)
XYZxyz(6.7882, 12.2282, 3.6713)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7124 #711F6C
analogous
#43711F #1F7124 #1F714D
triadic
#1F7124 #241F71 #71241F
tetradic
#1F7124 #1F4371 #711F6C #714D1F
square
#1F7124 #1F4371 #711F6C #714D1F
split-complementary
#1F7124 #4D1F71 #711F43
monochromatic
#071808 #124115 #1F7124 #2CA133 #40CB48

Accessibility & contrast

On white

6.09
#1F7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1F7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7124
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7124#FFFFFF#000000##FFFFFF
##1F71241.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661A
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#056E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7124;
/* rgb */ color: rgb(31, 113, 36);
/* oklch */ color: oklch(48.3% 0.136 143.9);
Tailwind
colors: {
  custom: {
    50: '#689b62',
    500: '#1f7124',
    950: '#000000',
  },
}
SCSS
$custom: #1f7124;
$custom-light: #689b62;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7124",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 123.659,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.13649,
    "h": 143.9
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#1F7124
secondary
#A5479F
accent
#48D7E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #1F7124

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

Preview Lab → · Contrast checker → · Palette generator →

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