#1F761F#1F761F

#1F761F is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.146 H 143.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1F761F
RGBrgb(31, 118, 31)
HSLhsl(120, 58%, 29%)
HSVhsv(120, 74%, 46%)
CMYKcmyk(73.7%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.28, -43.08, 38.69)
CIE-LCHlch(43.28, 57.90, 138.07°)
OKLaboklab(49.69% -0.1169 0.0882)
OKLCHoklch(49.69% 0.146 143)
XYZxyz(7.2904, 13.3463, 3.4879)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F761F #761F76
analogous
#4B761F #1F761F #1F764B
triadic
#1F761F #1F1F76 #761F1F
tetradic
#1F761F #1F4B76 #761F76 #764B1F
square
#1F761F #1F4B76 #761F76 #764B1F
split-complementary
#1F761F #4B1F76 #761F4B
monochromatic
#061806 #124612 #1F761F #2CA62C #42CD42

Accessibility & contrast

On white

5.72
#1F761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#1F761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F761F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F761F#FFFFFF#000000##FFFFFF
##1F761F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A11
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#037265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f761f;
/* rgb */ color: rgb(31, 118, 31);
/* oklch */ color: oklch(49.7% 0.146 143.0);
Tailwind
colors: {
  custom: {
    50: '#699e60',
    500: '#1f761f',
    950: '#000000',
  },
}
SCSS
$custom: #1f761f;
$custom-light: #699e60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f761f",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.14649,
    "h": 143
  },
  "luminance": 0.13347
}

Semantic roles & 50–950 ramp

primary
#1F761F
secondary
#AA47AA
accent
#46E2E2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F761F

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

Preview Lab → · Contrast checker → · Palette generator →

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