#1B4707#1B4707

#1B4707 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.103 H 138.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1B4707
RGBrgb(27, 71, 7)
HSLhsl(101, 82%, 15%)
HSVhsv(101, 90%, 28%)
CMYKcmyk(62%, 0%, 90.1%, 72.2%)
CIE-LABlab(26.02, -27.76, 30.94)
CIE-LCHlch(26.02, 41.57, 131.90°)
OKLaboklab(35.31% -0.0768 0.0683)
OKLCHoklch(35.31% 0.103 138.3)
XYZxyz(2.7435, 4.7546, 0.9741)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4707 #330747
analogous
#3B4707 #1B4707 #074713
triadic
#1B4707 #071B47 #47071B
tetradic
#1B4707 #073B47 #330747 #471307
square
#1B4707 #073B47 #330747 #471307
split-complementary
#1B4707 #130747 #47073B
monochromatic
#0B1C03 #0B1C03 #1B4707 #307F0C #45B612

Accessibility & contrast

On white

10.76
#1B4707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B4707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4707
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4707#FFFFFF#000000##FFFFFF
##1B47071.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#17443B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b4707;
/* rgb */ color: rgb(27, 71, 7);
/* oklch */ color: oklch(35.3% 0.103 138.3);
Tailwind
colors: {
  custom: {
    50: '#5e7b4d',
    500: '#1b4707',
    950: '#000000',
  },
}
SCSS
$custom: #1b4707;
$custom-light: #5e7b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4707",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 7
  },
  "hsl": {
    "h": 101.25,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.10279,
    "h": 138.3
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#1B4707
secondary
#672486
accent
#2FF8BA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050901
muted
#797B77

Preview Lab

Preview with #1B4707

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

Preview Lab → · Contrast checker → · Palette generator →

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