#1F4B0E#1F4B0E

#1F4B0E is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.102 H 138.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#1F4B0E
RGBrgb(31, 75, 14)
HSLhsl(103, 69%, 17%)
HSVhsv(103, 81%, 29%)
CMYKcmyk(58.7%, 0%, 81.3%, 70.6%)
CIE-LABlab(27.72, -27.68, 29.88)
CIE-LCHlch(27.72, 40.73, 132.81°)
OKLaboklab(36.77% -0.0764 0.0673)
OKLCHoklch(36.77% 0.102 138.6)
XYZxyz(3.1603, 5.3549, 1.2824)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B0E #3A0E4B
analogous
#3D4B0E #1F4B0E #0E4B1C
triadic
#1F4B0E #0E1F4B #4B0E1F
tetradic
#1F4B0E #0E3D4B #3A0E4B #4B1C0E
square
#1F4B0E #0E3D4B #3A0E4B #4B1C0E
split-complementary
#1F4B0E #1C0E4B #4B0E3D
monochromatic
#0B1A05 #0B1A05 #1F4B0E #347F18 #4AB221

Accessibility & contrast

On white

10.14
#1F4B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1F4B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4B0E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B0E#FFFFFF#000000##FFFFFF
##1F4B0E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#1B483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f4b0e;
/* rgb */ color: rgb(31, 75, 14);
/* oklch */ color: oklch(36.8% 0.102 138.6);
Tailwind
colors: {
  custom: {
    50: '#607e51',
    500: '#1f4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b0e;
$custom-light: #607e51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b0e",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 103.279,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.10179,
    "h": 138.6
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#1F4B0E
secondary
#6E2F86
accent
#3CEBBB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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