#1B4307#1B4307

#1B4307 is a dark, moderate green. Relative luminance 0.043; OKLCH L 34.1% C 0.097 H 137.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1B4307
RGBrgb(27, 67, 7)
HSLhsl(100, 81%, 15%)
HSVhsv(100, 90%, 26%)
CMYKcmyk(59.7%, 0%, 89.6%, 73.7%)
CIE-LABlab(24.52, -26.01, 29.52)
CIE-LCHlch(24.52, 39.34, 131.39°)
OKLaboklab(34.07% -0.0721 0.0654)
OKLCHoklch(34.07% 0.097 137.8)
XYZxyz(2.4974, 4.2625, 0.8921)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4307 #2F0743
analogous
#394307 #1B4307 #074311
triadic
#1B4307 #071B43 #43071B
tetradic
#1B4307 #073943 #2F0743 #431107
square
#1B4307 #073943 #2F0743 #431107
split-complementary
#1B4307 #110743 #430739
monochromatic
#0B1C03 #0B1C03 #1B4307 #317A0D #48B213

Accessibility & contrast

On white

11.34
#1B4307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1B4307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4307
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4307#FFFFFF#000000##FFFFFF
##1B43071.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#184038
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b4307;
/* rgb */ color: rgb(27, 67, 7);
/* oklch */ color: oklch(34.1% 0.097 137.8);
Tailwind
colors: {
  custom: {
    50: '#5d774c',
    500: '#1b4307',
    950: '#000000',
  },
}
SCSS
$custom: #1b4307;
$custom-light: #5d774c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4307",
  "rgb": {
    "r": 27,
    "g": 67,
    "b": 7
  },
  "hsl": {
    "h": 100,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34071,
    "c": 0.09735,
    "h": 137.8
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#1B4307
secondary
#632482
accent
#30F7B5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #1B4307

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

Preview Lab → · Contrast checker → · Palette generator →

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