#1F4B10#1F4B10

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

Color values

HEX#1F4B10
RGBrgb(31, 75, 16)
HSLhsl(105, 65%, 18%)
HSVhsv(105, 79%, 29%)
CMYKcmyk(58.7%, 0%, 78.7%, 70.6%)
CIE-LABlab(27.74, -27.50, 29.04)
CIE-LCHlch(27.74, 39.99, 133.45°)
OKLaboklab(36.79% -0.0757 0.0659)
OKLCHoklch(36.79% 0.1 139)
XYZxyz(3.1746, 5.3606, 1.3575)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4B10 #3C104B
analogous
#3C4B10 #1F4B10 #104B1F
triadic
#1F4B10 #101F4B #4B101F
tetradic
#1F4B10 #103C4B #3C104B #4B1F10
square
#1F4B10 #103C4B #3C104B #4B1F10
split-complementary
#1F4B10 #1F104B #4B103C
monochromatic
#0A1905 #0A1905 #1F4B10 #347D1B #49B026

Accessibility & contrast

On white

10.13
#1F4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4B10
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4B10#FFFFFF#000000##FFFFFF
##1F4B101.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4b10;
/* rgb */ color: rgb(31, 75, 16);
/* oklch */ color: oklch(36.8% 0.100 139.0);
Tailwind
colors: {
  custom: {
    50: '#607e52',
    500: '#1f4b10',
    950: '#000000',
  },
}
SCSS
$custom: #1f4b10;
$custom-light: #607e52;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4b10",
  "rgb": {
    "r": 31,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 104.746,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.10038,
    "h": 139
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#1F4B10
secondary
#703285
accent
#40E8BD
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1F4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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