#1B4E0C#1B4E0C

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

Color values

HEX#1B4E0C
RGBrgb(27, 78, 12)
HSLhsl(106, 73%, 18%)
HSVhsv(106, 85%, 31%)
CMYKcmyk(65.4%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.66, -30.35, 31.55)
CIE-LCHlch(28.66, 43.78, 133.89°)
OKLaboklab(37.5% -0.0834 0.0705)
OKLCHoklch(37.5% 0.109 139.8)
XYZxyz(3.2426, 5.7080, 1.2786)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E0C #3F0C4E
analogous
#3C4E0C #1B4E0C #0C4E1E
triadic
#1B4E0C #0C1B4E #4E0C1B
tetradic
#1B4E0C #0C3C4E #3F0C4E #4E1E0C
square
#1B4E0C #0C3C4E #3F0C4E #4E1E0C
split-complementary
#1B4E0C #1E0C4E #4E0C3C
monochromatic
#091B04 #091B04 #1B4E0C #2D8314 #40B81C

Accessibility & contrast

On white

9.81
#1B4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4E0C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E0C#FFFFFF#000000##FFFFFF
##1B4E0C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#154B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e0c;
/* rgb */ color: rgb(27, 78, 12);
/* oklch */ color: oklch(37.5% 0.109 139.8);
Tailwind
colors: {
  custom: {
    50: '#5f8051',
    500: '#1b4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e0c;
$custom-light: #5f8051;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e0c",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 106.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37502,
    "c": 0.10921,
    "h": 139.8
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#1B4E0C
secondary
#742C8A
accent
#38F0C6
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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