#1F7724#1F7724

#1F7724 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.144 H 143.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1F7724
RGBrgb(31, 119, 36)
HSLhsl(123, 59%, 29%)
HSVhsv(123, 74%, 47%)
CMYKcmyk(73.9%, 0%, 69.7%, 53.3%)
CIE-LABlab(43.67, -42.93, 36.94)
CIE-LCHlch(43.67, 56.64, 139.29°)
OKLaboklab(50.02% -0.1163 0.0852)
OKLCHoklch(50.02% 0.144 143.8)
XYZxyz(7.4799, 13.6115, 3.9018)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7724 #771F72
analogous
#46771F #1F7724 #1F7750
triadic
#1F7724 #241F77 #77241F
tetradic
#1F7724 #1F4677 #771F72 #77501F
square
#1F7724 #1F4677 #771F72 #77501F
split-complementary
#1F7724 #501F77 #771F46
monochromatic
#061807 #124615 #1F7724 #2CA833 #43CE4A

Accessibility & contrast

On white

5.64
#1F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#1F7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7724
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7724#FFFFFF#000000##FFFFFF
##1F77241.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B19
Deuteranopia (green-blind)
#6F642C
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7724;
/* rgb */ color: rgb(31, 119, 36);
/* oklch */ color: oklch(50.0% 0.144 143.8);
Tailwind
colors: {
  custom: {
    50: '#699f63',
    500: '#1f7724',
    950: '#000000',
  },
}
SCSS
$custom: #1f7724;
$custom-light: #699f63;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7724",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 123.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.14416,
    "h": 143.8
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#1F7724
secondary
#AB47A5
accent
#46D9E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #1F7724

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

Preview Lab → · Contrast checker → · Palette generator →

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