#1B460F#1B460F

#1B460F is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.1% C 0.096 H 139.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1B460F
RGBrgb(27, 70, 15)
HSLhsl(107, 65%, 17%)
HSVhsv(107, 79%, 27%)
CMYKcmyk(61.4%, 0%, 78.6%, 72.5%)
CIE-LABlab(25.71, -26.68, 27.34)
CIE-LCHlch(25.71, 38.20, 134.30°)
OKLaboklab(35.07% -0.0733 0.0622)
OKLCHoklch(35.07% 0.096 139.7)
XYZxyz(2.7283, 4.6476, 1.2051)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B460F #3A0F46
analogous
#37460F #1B460F #0F461F
triadic
#1B460F #0F1B46 #460F1B
tetradic
#1B460F #0F3746 #3A0F46 #461F0F
square
#1B460F #0F3746 #3A0F46 #461F0F
split-complementary
#1B460F #1F0F46 #460F37
monochromatic
#0A1905 #0A1905 #1B460F #2E781A #42AB25

Accessibility & contrast

On white

10.88
#1B460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B460F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B460F#FFFFFF#000000##FFFFFF
##1B460F1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#16433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b460f;
/* rgb */ color: rgb(27, 70, 15);
/* oklch */ color: oklch(35.1% 0.096 139.7);
Tailwind
colors: {
  custom: {
    50: '#5d7a51',
    500: '#1b460f',
    950: '#000000',
  },
}
SCSS
$custom: #1b460f;
$custom-light: #5d7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b460f",
  "rgb": {
    "r": 27,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 106.909,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35067,
    "c": 0.09612,
    "h": 139.7
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#1B460F
secondary
#6F3080
accent
#40E8C3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1B460F

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

Preview Lab → · Contrast checker → · Palette generator →

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