#1F7424#1F7424

#1F7424 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.140 H 143.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#1F7424
RGBrgb(31, 116, 36)
HSLhsl(124, 58%, 29%)
HSVhsv(124, 73%, 45%)
CMYKcmyk(73.3%, 0%, 69%, 54.5%)
CIE-LABlab(42.63, -41.84, 35.81)
CIE-LCHlch(42.63, 55.07, 139.44°)
OKLaboklab(49.16% -0.1133 0.0828)
OKLCHoklch(49.16% 0.14 143.9)
XYZxyz(7.1285, 12.9087, 3.7847)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7424 #741F6F
analogous
#45741F #1F7424 #1F744F
triadic
#1F7424 #241F74 #74241F
tetradic
#1F7424 #1F4574 #741F6F #744F1F
square
#1F7424 #1F4574 #741F6F #744F1F
split-complementary
#1F7424 #4F1F74 #741F45
monochromatic
#061807 #124415 #1F7424 #2CA433 #41CC49

Accessibility & contrast

On white

5.86
#1F7424 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1F7424 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7424
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7424#FFFFFF#000000##FFFFFF
##1F74241.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691A
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#027164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7424;
/* rgb */ color: rgb(31, 116, 36);
/* oklch */ color: oklch(49.2% 0.140 143.9);
Tailwind
colors: {
  custom: {
    50: '#689d63',
    500: '#1f7424',
    950: '#000000',
  },
}
SCSS
$custom: #1f7424;
$custom-light: #689d63;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7424",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 36
  },
  "hsl": {
    "h": 123.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.14035,
    "h": 143.9
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#1F7424
secondary
#A847A2
accent
#47D8E1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #1F7424

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

Preview Lab → · Contrast checker → · Palette generator →

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