#1B4010#1B4010

#1B4010 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.086 H 139.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1B4010
RGBrgb(27, 64, 16)
HSLhsl(106, 60%, 16%)
HSVhsv(106, 75%, 25%)
CMYKcmyk(57.8%, 0%, 75%, 74.9%)
CIE-LABlab(23.46, -23.84, 24.48)
CIE-LCHlch(23.46, 34.17, 134.24°)
OKLaboklab(33.22% -0.0655 0.0564)
OKLCHoklch(33.22% 0.086 139.3)
XYZxyz(2.3788, 3.9370, 1.1247)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4010 #351040
analogous
#334010 #1B4010 #10401D
triadic
#1B4010 #101B40 #40101B
tetradic
#1B4010 #103340 #351040 #401D10
square
#1B4010 #103340 #351040 #401D10
split-complementary
#1B4010 #1D1040 #401033
monochromatic
#0A1806 #0A1806 #1B4010 #30711C #44A228

Accessibility & contrast

On white

11.75
#1B4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B4010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4010
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4010#FFFFFF#000000##FFFFFF
##1B40101.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0A
Deuteranopia (green-blind)
#3D3714
Tritanopia (blue-blind)
#183E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b4010;
/* rgb */ color: rgb(27, 64, 16);
/* oklch */ color: oklch(33.2% 0.086 139.3);
Tailwind
colors: {
  custom: {
    50: '#5c7551',
    500: '#1b4010',
    950: '#000000',
  },
}
SCSS
$custom: #1b4010;
$custom-light: #5c7551;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4010",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 106.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.08643,
    "h": 139.3
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#1B4010
secondary
#69327A
accent
#45E3BF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1B4010

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

Preview Lab → · Contrast checker → · Palette generator →

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