#1B460B#1B460B

#1B460B is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.099 H 138.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#1B460B
RGBrgb(27, 70, 11)
HSLhsl(104, 73%, 16%)
HSVhsv(104, 84%, 27%)
CMYKcmyk(61.4%, 0%, 84.3%, 72.5%)
CIE-LABlab(25.68, -27.03, 29.03)
CIE-LCHlch(25.68, 39.66, 132.96°)
OKLaboklab(35.03% -0.0745 0.0651)
OKLCHoklch(35.03% 0.099 138.9)
XYZxyz(2.7025, 4.6373, 1.0692)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B460B #360B46
analogous
#38460B #1B460B #0B4618
triadic
#1B460B #0B1B46 #460B1B
tetradic
#1B460B #0B3846 #360B46 #46180B
square
#1B460B #0B3846 #360B46 #46180B
split-complementary
#1B460B #180B46 #460B38
monochromatic
#0A1A04 #0A1A04 #1B460B #2F7B13 #44B01C

Accessibility & contrast

On white

10.90
#1B460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B460B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B460B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B460B#FFFFFF#000000##FFFFFF
##1B460B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F02
Deuteranopia (green-blind)
#433B11
Tritanopia (blue-blind)
#17433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b460b;
/* rgb */ color: rgb(27, 70, 11);
/* oklch */ color: oklch(35.0% 0.099 138.9);
Tailwind
colors: {
  custom: {
    50: '#5d7a4f',
    500: '#1b460b',
    950: '#000000',
  },
}
SCSS
$custom: #1b460b;
$custom-light: #5d7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b460b",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 103.729,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.09894,
    "h": 138.9
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#1B460B
secondary
#6B2A82
accent
#38F0BE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B460B

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

Preview Lab → · Contrast checker → · Palette generator →

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