#1B470F#1B470F

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

Color values

HEX#1B470F
RGBrgb(27, 71, 15)
HSLhsl(107, 65%, 17%)
HSVhsv(107, 79%, 28%)
CMYKcmyk(62%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.08, -27.12, 27.72)
CIE-LCHlch(26.08, 38.78, 134.37°)
OKLaboklab(35.38% -0.0745 0.063)
OKLCHoklch(35.38% 0.098 139.8)
XYZxyz(2.7913, 4.7737, 1.2262)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B470F #3B0F47
analogous
#37470F #1B470F #0F471F
triadic
#1B470F #0F1B47 #470F1B
tetradic
#1B470F #0F3747 #3B0F47 #471F0F
square
#1B470F #0F3747 #3B0F47 #471F0F
split-complementary
#1B470F #1F0F47 #470F37
monochromatic
#0A1905 #0A1905 #1B470F #2E7A1A #41AC24

Accessibility & contrast

On white

10.74
#1B470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B470F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B470F#FFFFFF#000000##FFFFFF
##1B470F1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b470f;
/* rgb */ color: rgb(27, 71, 15);
/* oklch */ color: oklch(35.4% 0.098 139.8);
Tailwind
colors: {
  custom: {
    50: '#5d7b51',
    500: '#1b470f',
    950: '#000000',
  },
}
SCSS
$custom: #1b470f;
$custom-light: #5d7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1b470f",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 107.143,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35375,
    "c": 0.09755,
    "h": 139.8
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

primary
#1B470F
secondary
#703081
accent
#40E8C4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B470F

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

Preview Lab → · Contrast checker → · Palette generator →

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