#1B4E0F#1B4E0F

#1B4E0F is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.107 H 140.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#1B4E0F
RGBrgb(27, 78, 15)
HSLhsl(109, 68%, 18%)
HSVhsv(109, 81%, 31%)
CMYKcmyk(65.4%, 0%, 80.8%, 69.4%)
CIE-LABlab(28.68, -30.11, 30.38)
CIE-LCHlch(28.68, 42.77, 134.75°)
OKLaboklab(37.53% -0.0826 0.0686)
OKLCHoklch(37.53% 0.107 140.3)
XYZxyz(3.2625, 5.7160, 1.3832)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E0F #420F4E
analogous
#3A4E0F #1B4E0F #0F4E22
triadic
#1B4E0F #0F1B4E #4E0F1B
tetradic
#1B4E0F #0F3A4E #420F4E #4E220F
square
#1B4E0F #0F3A4E #420F4E #4E220F
split-complementary
#1B4E0F #220F4E #4E0F3A
monochromatic
#091A05 #091B05 #1B4E0F #2D8119 #3FB523

Accessibility & contrast

On white

9.80
#1B4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E0F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E0F#FFFFFF#000000##FFFFFF
##1B4E0F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504604
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#144B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e0f;
/* rgb */ color: rgb(27, 78, 15);
/* oklch */ color: oklch(37.5% 0.107 140.3);
Tailwind
colors: {
  custom: {
    50: '#5f8052',
    500: '#1b4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e0f;
$custom-light: #5f8052;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e0f",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 108.571,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.10731,
    "h": 140.3
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#1B4E0F
secondary
#783188
accent
#3DEBCA
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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