#1F4B0F#1F4B0F

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

Color values

HEX#1F4B0F
RGBrgb(31, 75, 15)
HSLhsl(104, 67%, 18%)
HSVhsv(104, 80%, 29%)
CMYKcmyk(58.7%, 0%, 80%, 70.6%)
CIE-LABlab(27.73, -27.59, 29.46)
CIE-LCHlch(27.73, 40.37, 133.12°)
OKLaboklab(36.78% -0.0761 0.0666)
OKLCHoklch(36.78% 0.101 138.8)
XYZxyz(3.1673, 5.3577, 1.3191)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B0F #3B0F4B
analogous
#3D4B0F #1F4B0F #0F4B1D
triadic
#1F4B0F #0F1F4B #4B0F1F
tetradic
#1F4B0F #0F3D4B #3B0F4B #4B1D0F
square
#1F4B0F #0F3D4B #3B0F4B #4B1D0F
split-complementary
#1F4B0F #1D0F4B #4B0F3D
monochromatic
#0B1A05 #0B1A05 #1F4B0F #347E19 #49B123

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F4B0F#FFFFFF#000000##FFFFFF
##1F4B0F1.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)
#4D4405
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#1B483F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f4b0f;
/* rgb */ color: rgb(31, 75, 15);
/* oklch */ color: oklch(36.8% 0.101 138.8);
Tailwind
colors: {
  custom: {
    50: '#607e52',
    500: '#1f4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b0f;
$custom-light: #607e52;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b0f",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 104,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36782,
    "c": 0.1011,
    "h": 138.8
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#1F4B0F
secondary
#6F3085
accent
#3EEABC
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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