#1F4A0A#1F4A0A

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

Color values

HEX#1F4A0A
RGBrgb(31, 74, 10)
HSLhsl(100, 76%, 16%)
HSVhsv(100, 86%, 29%)
CMYKcmyk(58.1%, 0%, 86.5%, 71%)
CIE-LABlab(27.33, -27.54, 31.06)
CIE-LCHlch(27.33, 41.51, 131.56°)
OKLaboklab(36.44% -0.0763 0.0691)
OKLCHoklch(36.44% 0.103 137.8)
XYZxyz(3.0685, 5.2105, 1.1311)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4A0A #350A4A
analogous
#3F4A0A #1F4A0A #0A4A15
triadic
#1F4A0A #0A1F4A #4A0A1F
tetradic
#1F4A0A #0A3F4A #350A4A #4A150A
square
#1F4A0A #0A3F4A #350A4A #4A150A
split-complementary
#1F4A0A #150A4A #4A0A3F
monochromatic
#0B1B04 #0B1B04 #1F4A0A #368011 #4CB619

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4A0A#FFFFFF#000000##FFFFFF
##1F4A0A1.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)
#4D4300
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#1C473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f4a0a;
/* rgb */ color: rgb(31, 74, 10);
/* oklch */ color: oklch(36.4% 0.103 137.8);
Tailwind
colors: {
  custom: {
    50: '#607d4f',
    500: '#1f4a0a',
    950: '#000000',
  },
}
SCSS
$custom: #1f4a0a;
$custom-light: #607d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4a0a",
  "rgb": {
    "r": 31,
    "g": 74,
    "b": 10
  },
  "hsl": {
    "h": 100.313,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36438,
    "c": 0.10292,
    "h": 137.8
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#1F4A0A
secondary
#682987
accent
#35F3B5
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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