#1F751D#1F751D

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

Color values

HEX#1F751D
RGBrgb(31, 117, 29)
HSLhsl(119, 60%, 29%)
HSVhsv(119, 75%, 46%)
CMYKcmyk(73.5%, 0%, 75.2%, 54.1%)
CIE-LABlab(42.92, -42.90, 39.13)
CIE-LCHlch(42.92, 58.07, 137.63°)
OKLaboklab(49.38% -0.1166 0.0889)
OKLCHoklch(49.38% 0.147 142.7)
XYZxyz(7.1477, 13.1018, 3.3144)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F751D #731D75
analogous
#4B751D #1F751D #1D7547
triadic
#1F751D #1D1F75 #751D1F
tetradic
#1F751D #1D4B75 #731D75 #75471D
square
#1F751D #1D4B75 #731D75 #75471D
split-complementary
#1F751D #471D75 #751D4B
monochromatic
#061906 #124411 #1F751D #2CA629 #41CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F751D#FFFFFF#000000##FFFFFF
##1F751D1.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)
#78690E
Deuteranopia (green-blind)
#6E6326
Tritanopia (blue-blind)
#047164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f751d;
/* rgb */ color: rgb(31, 117, 29);
/* oklch */ color: oklch(49.4% 0.147 142.7);
Tailwind
colors: {
  custom: {
    50: '#699e5f',
    500: '#1f751d',
    950: '#000000',
  },
}
SCSS
$custom: #1f751d;
$custom-light: #699e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f751d",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 118.636,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.14659,
    "h": 142.7
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#1F751D
secondary
#A745A9
accent
#44E3E0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F751D

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

Preview Lab → · Contrast checker → · Palette generator →

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