#1F4A0D#1F4A0D

#1F4A0D is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.101 H 138.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1F4A0D
RGBrgb(31, 74, 13)
HSLhsl(102, 70%, 17%)
HSVhsv(102, 82%, 29%)
CMYKcmyk(58.1%, 0%, 82.4%, 71%)
CIE-LABlab(27.35, -27.32, 29.92)
CIE-LCHlch(27.35, 40.51, 132.40°)
OKLaboklab(36.46% -0.0755 0.0672)
OKLCHoklch(36.46% 0.101 138.3)
XYZxyz(3.0864, 5.2177, 1.2252)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4A0D #380D4A
analogous
#3E4A0D #1F4A0D #0D4A1A
triadic
#1F4A0D #0D1F4A #4A0D1F
tetradic
#1F4A0D #0D3E4A #380D4A #4A1A0D
square
#1F4A0D #0D3E4A #380D4A #4A1A0D
split-complementary
#1F4A0D #1A0D4A #4A0D3E
monochromatic
#0B1A05 #0B1A05 #1F4A0D #357E16 #4BB21F

Accessibility & contrast

On white

10.28
#1F4A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1F4A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4A0D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4A0D#FFFFFF#000000##FFFFFF
##1F4A0D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4303
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#1B473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f4a0d;
/* rgb */ color: rgb(31, 74, 13);
/* oklch */ color: oklch(36.5% 0.101 138.3);
Tailwind
colors: {
  custom: {
    50: '#607d50',
    500: '#1f4a0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4a0d;
$custom-light: #607d50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4a0d",
  "rgb": {
    "r": 31,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 102.295,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.10106,
    "h": 138.3
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#1F4A0D
secondary
#6B2E85
accent
#3BEDB8
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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