#1B4C0F#1B4C0F

#1B4C0F is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.105 H 140.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1B4C0F
RGBrgb(27, 76, 15)
HSLhsl(108, 67%, 18%)
HSVhsv(108, 80%, 30%)
CMYKcmyk(64.5%, 0%, 80.3%, 70.2%)
CIE-LABlab(27.94, -29.27, 29.63)
CIE-LCHlch(27.94, 41.65, 134.65°)
OKLaboklab(36.91% -0.0803 0.067)
OKLCHoklch(36.91% 0.105 140.2)
XYZxyz(3.1225, 5.4361, 1.3366)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4C0F #400F4C
analogous
#394C0F #1B4C0F #0F4C22
triadic
#1B4C0F #0F1B4C #4C0F1B
tetradic
#1B4C0F #0F394C #400F4C #4C220F
square
#1B4C0F #0F394C #400F4C #4C220F
split-complementary
#1B4C0F #220F4C #4C0F39
monochromatic
#091A05 #091A05 #1B4C0F #2D7F19 #3FB223

Accessibility & contrast

On white

10.06
#1B4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4C0F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4C0F#FFFFFF#000000##FFFFFF
##1B4C0F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#154940
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b4c0f;
/* rgb */ color: rgb(27, 76, 15);
/* oklch */ color: oklch(36.9% 0.105 140.2);
Tailwind
colors: {
  custom: {
    50: '#5e7e52',
    500: '#1b4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4c0f;
$custom-light: #5e7e52;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4c0f",
  "rgb": {
    "r": 27,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 108.197,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36913,
    "c": 0.10457,
    "h": 140.2
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#1B4C0F
secondary
#753186
accent
#3EEAC8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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