#1B470B#1B470B

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

Color values

HEX#1B470B
RGBrgb(27, 71, 11)
HSLhsl(104, 73%, 16%)
HSVhsv(104, 85%, 28%)
CMYKcmyk(62%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.05, -27.46, 29.39)
CIE-LCHlch(26.05, 40.23, 133.06°)
OKLaboklab(35.34% -0.0757 0.0659)
OKLCHoklch(35.34% 0.1 139)
XYZxyz(2.7655, 4.7634, 1.0902)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B470B #370B47
analogous
#39470B #1B470B #0B4719
triadic
#1B470B #0B1B47 #470B1B
tetradic
#1B470B #0B3947 #370B47 #47190B
square
#1B470B #0B3947 #370B47 #47190B
split-complementary
#1B470B #190B47 #470B39
monochromatic
#0A1A04 #0A1A04 #1B470B #2F7C13 #43B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B470B#FFFFFF#000000##FFFFFF
##1B470B1.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)
#494001
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#17443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b470b;
/* rgb */ color: rgb(27, 71, 11);
/* oklch */ color: oklch(35.3% 0.100 139.0);
Tailwind
colors: {
  custom: {
    50: '#5d7b4f',
    500: '#1b470b',
    950: '#000000',
  },
}
SCSS
$custom: #1b470b;
$custom-light: #5d7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b470b",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 104,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35341,
    "c": 0.10033,
    "h": 139
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#1B470B
secondary
#6C2A83
accent
#38F0BF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B470B

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

Preview Lab → · Contrast checker → · Palette generator →

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