#1F4A0E#1F4A0E

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

Color values

HEX#1F4A0E
RGBrgb(31, 74, 14)
HSLhsl(103, 68%, 17%)
HSVhsv(103, 81%, 29%)
CMYKcmyk(58.1%, 0%, 81.1%, 71%)
CIE-LABlab(27.35, -27.24, 29.51)
CIE-LCHlch(27.35, 40.16, 132.71°)
OKLaboklab(36.47% -0.0752 0.0665)
OKLCHoklch(36.47% 0.1 138.5)
XYZxyz(3.0930, 5.2203, 1.2600)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4A0E #390E4A
analogous
#3D4A0E #1F4A0E #0E4A1B
triadic
#1F4A0E #0E1F4A #4A0E1F
tetradic
#1F4A0E #0E3D4A #390E4A #4A1B0E
square
#1F4A0E #0E3D4A #390E4A #4A1B0E
split-complementary
#1F4A0E #1B0E4A #4A0E3D
monochromatic
#0B1A05 #0B1A05 #1F4A0E #357D18 #4AB121

Accessibility & contrast

On white

10.27
#1F4A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4A0E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4A0E#FFFFFF#000000##FFFFFF
##1F4A0E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4a0e;
/* rgb */ color: rgb(31, 74, 14);
/* oklch */ color: oklch(36.5% 0.100 138.5);
Tailwind
colors: {
  custom: {
    50: '#607d51',
    500: '#1f4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4a0e;
$custom-light: #607d51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4a0e",
  "rgb": {
    "r": 31,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 103,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36469,
    "c": 0.10038,
    "h": 138.5
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#1F4A0E
secondary
#6C2F85
accent
#3DEBBA
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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