#1B470C#1B470C

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

Color values

HEX#1B470C
RGBrgb(27, 71, 12)
HSLhsl(105, 71%, 16%)
HSVhsv(105, 83%, 28%)
CMYKcmyk(62%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.06, -27.38, 29.00)
CIE-LCHlch(26.06, 39.88, 133.36°)
OKLaboklab(35.35% -0.0754 0.0652)
OKLCHoklch(35.35% 0.1 139.2)
XYZxyz(2.7715, 4.7658, 1.1216)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B470C #380C47
analogous
#39470C #1B470C #0C471B
triadic
#1B470C #0C1B47 #470C1B
tetradic
#1B470C #0C3947 #380C47 #471B0C
square
#1B470C #0C3947 #380C47 #471B0C
split-complementary
#1B470C #1B0C47 #470C39
monochromatic
#0A1A04 #0A1A04 #1B470C #2F7B15 #43B01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B470C#FFFFFF#000000##FFFFFF
##1B470C1.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)
#494003
Deuteranopia (green-blind)
#443C12
Tritanopia (blue-blind)
#16443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b470c;
/* rgb */ color: rgb(27, 71, 12);
/* oklch */ color: oklch(35.3% 0.100 139.2);
Tailwind
colors: {
  custom: {
    50: '#5d7b4f',
    500: '#1b470c',
    950: '#000000',
  },
}
SCSS
$custom: #1b470c;
$custom-light: #5d7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b470c",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 104.746,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.09967,
    "h": 139.2
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#1B470C
secondary
#6D2C83
accent
#3AEEC0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B470C

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

Preview Lab → · Contrast checker → · Palette generator →

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