#1B412C#1B412C

#1B412C is a dark, muted green. Relative luminance 0.042; OKLCH L 34.1% C 0.058 H 157.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#1B412C
RGBrgb(27, 65, 44)
HSLhsl(147, 41%, 18%)
HSVhsv(147, 58%, 25%)
CMYKcmyk(58.5%, 0%, 32.3%, 74.5%)
CIE-LABlab(24.31, -19.37, 8.79)
CIE-LCHlch(24.31, 21.27, 155.60°)
OKLaboklab(34.07% -0.053 0.0223)
OKLCHoklch(34.07% 0.058 157.2)
XYZxyz(2.7967, 4.1952, 3.0448)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B412C #411B30
analogous
#1D411B #1B412C #1B413F
triadic
#1B412C #2C1B41 #412C1B
tetradic
#1B412C #1B1D41 #411B30 #413F1B
square
#1B412C #1B1D41 #411B30 #413F1B
split-complementary
#1B412C #3F1B41 #411B1D
monochromatic
#09160F #09160F #1B412C #2D6C49 #3F9767

Accessibility & contrast

On white

11.42
#1B412C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1B412C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B412C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B412C#FFFFFF#000000##FFFFFF
##1B412C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2B
Deuteranopia (green-blind)
#3B382D
Tritanopia (blue-blind)
#10403B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b412c;
/* rgb */ color: rgb(27, 65, 44);
/* oklch */ color: oklch(34.1% 0.058 157.2);
Tailwind
colors: {
  custom: {
    50: '#5b7665',
    500: '#1b412c',
    950: '#000000',
  },
}
SCSS
$custom: #1b412c;
$custom-light: #5b7665;
$custom-dark: #000000;
JSON
{
  "hex": "#1b412c",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 44
  },
  "hsl": {
    "h": 146.842,
    "s": 41.304,
    "l": 18.039
  },
  "oklch": {
    "l": 0.34068,
    "c": 0.05753,
    "h": 157.2
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#1B412C
secondary
#76415F
accent
#579AD1
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040805
muted
#797B7A

Preview Lab

Preview with #1B412C

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

Preview Lab → · Contrast checker → · Palette generator →

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