#1F4C0E#1F4C0E

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

Color values

HEX#1F4C0E
RGBrgb(31, 76, 14)
HSLhsl(104, 69%, 18%)
HSVhsv(104, 82%, 30%)
CMYKcmyk(59.2%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.09, -28.12, 30.25)
CIE-LCHlch(28.09, 41.30, 132.91°)
OKLaboklab(37.08% -0.0775 0.0681)
OKLCHoklch(37.08% 0.103 138.7)
XYZxyz(3.2287, 5.4916, 1.3052)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4C0E #3B0E4C
analogous
#3E4C0E #1F4C0E #0E4C1C
triadic
#1F4C0E #0E1F4C #4C0E1F
tetradic
#1F4C0E #0E3E4C #3B0E4C #4C1C0E
square
#1F4C0E #0E3E4C #3B0E4C #4C1C0E
split-complementary
#1F4C0E #1C0E4C #4C0E3E
monochromatic
#0B1A05 #0B1A05 #1F4C0E #348018 #49B321

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4C0E#FFFFFF#000000##FFFFFF
##1F4C0E1.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)
#4F4504
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#1B4940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f4c0e;
/* rgb */ color: rgb(31, 76, 14);
/* oklch */ color: oklch(37.1% 0.103 138.7);
Tailwind
colors: {
  custom: {
    50: '#617e51',
    500: '#1f4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4c0e;
$custom-light: #617e51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4c0e",
  "rgb": {
    "r": 31,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 103.548,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37077,
    "c": 0.10319,
    "h": 138.7
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#1F4C0E
secondary
#6F2F87
accent
#3CECBC
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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