#1F751E#1F751E

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

Color values

HEX#1F751E
RGBrgb(31, 117, 30)
HSLhsl(119, 59%, 29%)
HSVhsv(119, 74%, 46%)
CMYKcmyk(73.5%, 0%, 74.4%, 54.1%)
CIE-LABlab(42.92, -42.81, 38.73)
CIE-LCHlch(42.92, 57.73, 137.86°)
OKLaboklab(49.39% -0.1163 0.0882)
OKLCHoklch(49.39% 0.146 142.8)
XYZxyz(7.1603, 13.1068, 3.3806)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F751E #741E75
analogous
#4B751E #1F751E #1E7549
triadic
#1F751E #1E1F75 #751E1F
tetradic
#1F751E #1E4B75 #741E75 #75491E
square
#1F751E #1E4B75 #741E75 #75491E
split-complementary
#1F751E #491E75 #751E4B
monochromatic
#061806 #124412 #1F751E #2CA62A #41CE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F751E#FFFFFF#000000##FFFFFF
##1F751E1.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)
#786A10
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#047164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f751e;
/* rgb */ color: rgb(31, 117, 30);
/* oklch */ color: oklch(49.4% 0.146 142.8);
Tailwind
colors: {
  custom: {
    50: '#699e5f',
    500: '#1f751e',
    950: '#000000',
  },
}
SCSS
$custom: #1f751e;
$custom-light: #699e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f751e",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 119.31,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.14593,
    "h": 142.8
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#1F751E
secondary
#A846A9
accent
#45E2E1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F751E

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

Preview Lab → · Contrast checker → · Palette generator →

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