#1F4B0D#1F4B0D

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

Color values

HEX#1F4B0D
RGBrgb(31, 75, 13)
HSLhsl(103, 70%, 17%)
HSVhsv(103, 83%, 29%)
CMYKcmyk(58.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(27.72, -27.76, 30.28)
CIE-LCHlch(27.72, 41.08, 132.51°)
OKLaboklab(36.77% -0.0766 0.068)
OKLCHoklch(36.77% 0.102 138.4)
XYZxyz(3.1537, 5.3523, 1.2476)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B0D #390D4B
analogous
#3E4B0D #1F4B0D #0D4B1A
triadic
#1F4B0D #0D1F4B #4B0D1F
tetradic
#1F4B0D #0D3E4B #390D4B #4B1A0D
square
#1F4B0D #0D3E4B #390D4B #4B1A0D
split-complementary
#1F4B0D #1A0D4B #4B0D3E
monochromatic
#0B1A05 #0B1A05 #1F4B0D #357F16 #4AB31F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4B0D#FFFFFF#000000##FFFFFF
##1F4B0D1.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)
#4E4403
Deuteranopia (green-blind)
#484014
Tritanopia (blue-blind)
#1B483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f4b0d;
/* rgb */ color: rgb(31, 75, 13);
/* oklch */ color: oklch(36.8% 0.102 138.4);
Tailwind
colors: {
  custom: {
    50: '#607e51',
    500: '#1f4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b0d;
$custom-light: #607e51;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b0d",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 102.581,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.10246,
    "h": 138.4
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#1F4B0D
secondary
#6C2E86
accent
#3BEDB9
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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