#1B4D0C#1B4D0C

#1B4D0C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.108 H 139.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#1B4D0C
RGBrgb(27, 77, 12)
HSLhsl(106, 73%, 17%)
HSVhsv(106, 84%, 30%)
CMYKcmyk(64.9%, 0%, 84.4%, 69.8%)
CIE-LABlab(28.29, -29.94, 31.19)
CIE-LCHlch(28.29, 43.23, 133.83°)
OKLaboklab(37.2% -0.0823 0.0698)
OKLCHoklch(37.2% 0.108 139.7)
XYZxyz(3.1721, 5.5670, 1.2551)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D0C #3E0C4D
analogous
#3B4D0C #1B4D0C #0C4D1E
triadic
#1B4D0C #0C1B4D #4D0C1B
tetradic
#1B4D0C #0C3B4D #3E0C4D #4D1E0C
square
#1B4D0C #0C3B4D #3E0C4D #4D1E0C
split-complementary
#1B4D0C #1E0C4D #4D0C3B
monochromatic
#091A04 #091A04 #1B4D0C #2E8214 #40B71D

Accessibility & contrast

On white

9.94
#1B4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1B4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D0C
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D0C#FFFFFF#000000##FFFFFF
##1B4D0C1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#154A41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4d0c;
/* rgb */ color: rgb(27, 77, 12);
/* oklch */ color: oklch(37.2% 0.108 139.7);
Tailwind
colors: {
  custom: {
    50: '#5f7f50',
    500: '#1b4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d0c;
$custom-light: #5f7f50;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d0c",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 106.154,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.10787,
    "h": 139.7
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#1B4D0C
secondary
#732C89
accent
#38F0C5
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78

Preview Lab

Preview with #1B4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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