#1F4C0D#1F4C0D

#1F4C0D is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.104 H 138.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#1F4C0D
RGBrgb(31, 76, 13)
HSLhsl(103, 71%, 17%)
HSVhsv(103, 83%, 30%)
CMYKcmyk(59.2%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.08, -28.20, 30.65)
CIE-LCHlch(28.08, 41.65, 132.62°)
OKLaboklab(37.07% -0.0778 0.0687)
OKLCHoklch(37.07% 0.104 138.5)
XYZxyz(3.2220, 5.4890, 1.2704)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4C0D #3A0D4C
analogous
#3F4C0D #1F4C0D #0D4C1A
triadic
#1F4C0D #0D1F4C #4C0D1F
tetradic
#1F4C0D #0D3F4C #3A0D4C #4C1A0D
square
#1F4C0D #0D3F4C #3A0D4C #4C1A0D
split-complementary
#1F4C0D #1A0D4C #4C0D3F
monochromatic
#0B1A04 #0B1A04 #1F4C0D #348016 #4AB51F

Accessibility & contrast

On white

10.01
#1F4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1F4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4C0D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4C0D#FFFFFF#000000##FFFFFF
##1F4C0D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4502
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#1B4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f4c0d;
/* rgb */ color: rgb(31, 76, 13);
/* oklch */ color: oklch(37.1% 0.104 138.5);
Tailwind
colors: {
  custom: {
    50: '#617e51',
    500: '#1f4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4c0d;
$custom-light: #617e51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4c0d",
  "rgb": {
    "r": 31,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 102.857,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37069,
    "c": 0.10384,
    "h": 138.5
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#1F4C0D
secondary
#6E2E87
accent
#3AEEBA
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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