#1B470E#1B470E

#1B470E is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.098 H 139.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#1B470E
RGBrgb(27, 71, 14)
HSLhsl(106, 67%, 17%)
HSVhsv(106, 80%, 28%)
CMYKcmyk(62%, 0%, 80.3%, 72.2%)
CIE-LABlab(26.07, -27.21, 28.16)
CIE-LCHlch(26.07, 39.16, 134.02°)
OKLaboklab(35.37% -0.0748 0.0638)
OKLCHoklch(35.37% 0.098 139.6)
XYZxyz(2.7844, 4.7710, 1.1895)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B470E #3A0E47
analogous
#38470E #1B470E #0E471E
triadic
#1B470E #0E1B47 #470E1B
tetradic
#1B470E #0E3847 #3A0E47 #471E0E
square
#1B470E #0E3847 #3A0E47 #471E0E
split-complementary
#1B470E #1E0E47 #470E38
monochromatic
#0A1A05 #0A1A05 #1B470E #2E7A18 #42AD22

Accessibility & contrast

On white

10.75
#1B470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B470E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B470E#FFFFFF#000000##FFFFFF
##1B470E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494005
Deuteranopia (green-blind)
#443C14
Tritanopia (blue-blind)
#16443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b470e;
/* rgb */ color: rgb(27, 71, 14);
/* oklch */ color: oklch(35.4% 0.098 139.6);
Tailwind
colors: {
  custom: {
    50: '#5d7b51',
    500: '#1b470e',
    950: '#000000',
  },
}
SCSS
$custom: #1b470e;
$custom-light: #5d7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b470e",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 106.316,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.09829,
    "h": 139.6
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#1B470E
secondary
#6F2F82
accent
#3EEAC3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B470E

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

Preview Lab → · Contrast checker → · Palette generator →

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