#1F722B#1F722B

#1F722B is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.132 H 145.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#1F722B
RGBrgb(31, 114, 43)
HSLhsl(129, 57%, 28%)
HSVhsv(129, 73%, 45%)
CMYKcmyk(72.8%, 0%, 62.3%, 55.3%)
CIE-LABlab(42.00, -40.23, 31.74)
CIE-LCHlch(42.00, 51.25, 141.73°)
OKLaboklab(48.66% -0.1087 0.0749)
OKLCHoklch(48.66% 0.132 145.4)
XYZxyz(7.0180, 12.4996, 4.3278)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F722B #721F66
analogous
#3C721F #1F722B #1F7254
triadic
#1F722B #2B1F72 #722B1F
tetradic
#1F722B #1F3C72 #721F66 #72541F
square
#1F722B #1F3C72 #721F66 #72541F
split-complementary
#1F722B #541F72 #721F3C
monochromatic
#071809 #124219 #1F722B #2CA23D #40CB54

Accessibility & contrast

On white

6.00
#1F722B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1F722B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F722B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F722B#FFFFFF#000000##FFFFFF
##1F722B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746724
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f722b;
/* rgb */ color: rgb(31, 114, 43);
/* oklch */ color: oklch(48.7% 0.132 145.4);
Tailwind
colors: {
  custom: {
    50: '#689b67',
    500: '#1f722b',
    950: '#000000',
  },
}
SCSS
$custom: #1f722b;
$custom-light: #689b67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f722b",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 128.675,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.13196,
    "h": 145.4
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#1F722B
secondary
#A64798
accent
#47CAE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F722B

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

Preview Lab → · Contrast checker → · Palette generator →

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