#1F751F#1F751F

#1F751F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.145 H 143.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#1F751F
RGBrgb(31, 117, 31)
HSLhsl(120, 58%, 29%)
HSVhsv(120, 74%, 46%)
CMYKcmyk(73.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(42.93, -42.72, 38.33)
CIE-LCHlch(42.93, 57.39, 138.10°)
OKLaboklab(49.4% -0.116 0.0875)
OKLCHoklch(49.4% 0.145 143)
XYZxyz(7.1733, 13.1120, 3.4489)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F751F #751F75
analogous
#4A751F #1F751F #1F754A
triadic
#1F751F #1F1F75 #751F1F
tetradic
#1F751F #1F4A75 #751F75 #754A1F
square
#1F751F #1F4A75 #751F75 #754A1F
split-complementary
#1F751F #4A1F75 #751F4A
monochromatic
#061806 #124512 #1F751F #2CA52C #42CD42

Accessibility & contrast

On white

5.80
#1F751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#1F751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F751F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F751F#FFFFFF#000000##FFFFFF
##1F751F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#047164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f751f;
/* rgb */ color: rgb(31, 117, 31);
/* oklch */ color: oklch(49.4% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#699e60',
    500: '#1f751f',
    950: '#000000',
  },
}
SCSS
$custom: #1f751f;
$custom-light: #699e60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f751f",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.14525,
    "h": 143
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#1F751F
secondary
#A947A9
accent
#46E1E1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F751F

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

Preview Lab → · Contrast checker → · Palette generator →

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