#1F751A#1F751A

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

Color values

HEX#1F751A
RGBrgb(31, 117, 26)
HSLhsl(117, 64%, 28%)
HSVhsv(117, 78%, 46%)
CMYKcmyk(73.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(42.90, -43.16, 40.29)
CIE-LCHlch(42.90, 59.04, 136.97°)
OKLaboklab(49.35% -0.1174 0.0909)
OKLCHoklch(49.35% 0.148 142.3)
XYZxyz(7.1124, 13.0877, 3.1284)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F751A #701A75
analogous
#4C751A #1F751A #1A7542
triadic
#1F751A #1A1F75 #751A1F
tetradic
#1F751A #1A4C75 #701A75 #75421A
square
#1F751A #1A4C75 #701A75 #75421A
split-complementary
#1F751A #421A75 #751A4C
monochromatic
#071906 #12430F #1F751A #2CA725 #3FD337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F751A#FFFFFF#000000##FFFFFF
##1F751A1.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)
#786907
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#067164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f751a;
/* rgb */ color: rgb(31, 117, 26);
/* oklch */ color: oklch(49.4% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#699e5d',
    500: '#1f751a',
    950: '#000000',
  },
}
SCSS
$custom: #1f751a;
$custom-light: #699e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f751a",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 116.703,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.14848,
    "h": 142.3
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#1F751A
secondary
#A441AA
accent
#41E7DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F751A

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

Preview Lab → · Contrast checker → · Palette generator →

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