#1B470A#1B470A

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

Color values

HEX#1B470A
RGBrgb(27, 71, 10)
HSLhsl(103, 75%, 16%)
HSVhsv(103, 86%, 28%)
CMYKcmyk(62%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.04, -27.54, 29.77)
CIE-LCHlch(26.04, 40.56, 132.77°)
OKLaboklab(35.33% -0.076 0.0665)
OKLCHoklch(35.33% 0.101 138.8)
XYZxyz(2.7599, 4.7612, 1.0607)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B470A #360A47
analogous
#39470A #1B470A #0A4717
triadic
#1B470A #0A1B47 #470A1B
tetradic
#1B470A #0A3947 #360A47 #47170A
square
#1B470A #0A3947 #360A47 #47170A
split-complementary
#1B470A #170A47 #470A39
monochromatic
#0A1B04 #0A1B04 #1B470A #2F7D12 #44B219

Accessibility & contrast

On white

10.76
#1B470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B470A
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B470A#FFFFFF#000000##FFFFFF
##1B470A1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494000
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#17443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b470a;
/* rgb */ color: rgb(27, 71, 10);
/* oklch */ color: oklch(35.3% 0.101 138.8);
Tailwind
colors: {
  custom: {
    50: '#5e7b4e',
    500: '#1b470a',
    950: '#000000',
  },
}
SCSS
$custom: #1b470a;
$custom-light: #5e7b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b470a",
  "rgb": {
    "r": 27,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 103.279,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35333,
    "c": 0.10094,
    "h": 138.8
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#1B470A
secondary
#6B2984
accent
#36F2BE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1B470A

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

Preview Lab → · Contrast checker → · Palette generator →

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