#1B4F0D#1B4F0D

#1B4F0D is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.110 H 140.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#1B4F0D
RGBrgb(27, 79, 13)
HSLhsl(107, 72%, 18%)
HSVhsv(107, 84%, 31%)
CMYKcmyk(65.8%, 0%, 83.5%, 69%)
CIE-LABlab(29.04, -30.69, 31.53)
CIE-LCHlch(29.04, 44.00, 134.22°)
OKLaboklab(37.82% -0.0842 0.0706)
OKLCHoklch(37.82% 0.11 140)
XYZxyz(3.3205, 5.8537, 1.3356)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F0D #410D4F
analogous
#3C4F0D #1B4F0D #0D4F20
triadic
#1B4F0D #0D1B4F #4F0D1B
tetradic
#1B4F0D #0D3C4F #410D4F #4F200D
square
#1B4F0D #0D3C4F #410D4F #4F200D
split-complementary
#1B4F0D #200D4F #4F0D3C
monochromatic
#091A04 #091A04 #1B4F0D #2D8416 #3FB81E

Accessibility & contrast

On white

9.67
#1B4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F0D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F0D#FFFFFF#000000##FFFFFF
##1B4F0D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#4B4314
Tritanopia (blue-blind)
#144C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4f0d;
/* rgb */ color: rgb(27, 79, 13);
/* oklch */ color: oklch(37.8% 0.110 140.0);
Tailwind
colors: {
  custom: {
    50: '#5f8151',
    500: '#1b4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f0d;
$custom-light: #5f8151;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f0d",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 107.273,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37815,
    "c": 0.10994,
    "h": 140
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#1B4F0D
secondary
#762E8A
accent
#39EEC8
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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