#1B460C#1B460C

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

Color values

HEX#1B460C
RGBrgb(27, 70, 12)
HSLhsl(104, 71%, 16%)
HSVhsv(104, 83%, 27%)
CMYKcmyk(61.4%, 0%, 82.9%, 72.5%)
CIE-LABlab(25.68, -26.95, 28.62)
CIE-LCHlch(25.68, 39.31, 133.27°)
OKLaboklab(35.04% -0.0742 0.0644)
OKLCHoklch(35.04% 0.098 139)
XYZxyz(2.7084, 4.6397, 1.1006)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B460C #370C46
analogous
#38460C #1B460C #0C461A
triadic
#1B460C #0C1B46 #460C1B
tetradic
#1B460C #0C3846 #370C46 #461A0C
square
#1B460C #0C3846 #370C46 #461A0C
split-complementary
#1B460C #1A0C46 #460C38
monochromatic
#0A1A04 #0A1A04 #1B460C #2F7A15 #43AE1E

Accessibility & contrast

On white

10.89
#1B460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B460C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B460C#FFFFFF#000000##FFFFFF
##1B460C1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b460c;
/* rgb */ color: rgb(27, 70, 12);
/* oklch */ color: oklch(35.0% 0.098 139.0);
Tailwind
colors: {
  custom: {
    50: '#5d7a4f',
    500: '#1b460c',
    950: '#000000',
  },
}
SCSS
$custom: #1b460c;
$custom-light: #5d7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b460c",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 104.483,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3504,
    "c": 0.09827,
    "h": 139
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#1B460C
secondary
#6C2C82
accent
#3AEDBF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B460C

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

Preview Lab → · Contrast checker → · Palette generator →

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