#1F4710#1F4710

#1F4710 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.6% C 0.095 H 138.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1F4710
RGBrgb(31, 71, 16)
HSLhsl(104, 63%, 17%)
HSVhsv(104, 77%, 28%)
CMYKcmyk(56.3%, 0%, 77.5%, 72.2%)
CIE-LABlab(26.26, -25.70, 27.51)
CIE-LCHlch(26.26, 37.65, 133.06°)
OKLaboklab(35.57% -0.0709 0.0627)
OKLCHoklch(35.57% 0.095 138.5)
XYZxyz(2.9117, 4.8350, 1.2699)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4710 #381047
analogous
#3B4710 #1F4710 #10471D
triadic
#1F4710 #101F47 #47101F
tetradic
#1F4710 #103B47 #381047 #471D10
square
#1F4710 #103B47 #381047 #471D10
split-complementary
#1F4710 #1D1047 #47103B
monochromatic
#0B1906 #0B1906 #1F4710 #35791B #4BAB27

Accessibility & contrast

On white

10.68
#1F4710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1F4710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4710
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4710#FFFFFF#000000##FFFFFF
##1F47101.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494008
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#1C443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f4710;
/* rgb */ color: rgb(31, 71, 16);
/* oklch */ color: oklch(35.6% 0.095 138.5);
Tailwind
colors: {
  custom: {
    50: '#5f7a52',
    500: '#1f4710',
    950: '#000000',
  },
}
SCSS
$custom: #1f4710;
$custom-light: #5f7a52;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4710",
  "rgb": {
    "r": 31,
    "g": 71,
    "b": 16
  },
  "hsl": {
    "h": 103.636,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35573,
    "c": 0.09459,
    "h": 138.5
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#1F4710
secondary
#6B3281
accent
#42E6B9
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4710

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

Preview Lab → · Contrast checker → · Palette generator →

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