#1B642A#1B642A

#1B642A is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.115 H 146.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#1B642A
RGBrgb(27, 100, 42)
HSLhsl(132, 57%, 25%)
HSVhsv(132, 73%, 39%)
CMYKcmyk(73%, 0%, 58%, 60.8%)
CIE-LABlab(36.96, -35.72, 26.29)
CIE-LCHlch(36.96, 44.35, 143.65°)
OKLaboklab(44.46% -0.0963 0.0629)
OKLCHoklch(44.46% 0.115 146.9)
XYZxyz(5.4267, 9.5139, 3.7404)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B642A #641B55
analogous
#30641B #1B642A #1B644F
triadic
#1B642A #2A1B64 #642A1B
tetradic
#1B642A #1B3064 #641B55 #644F1B
square
#1B642A #1B3064 #641B55 #644F1B
split-complementary
#1B642A #4F1B64 #641B30
monochromatic
#07180A #0E3416 #1B642A #28943E #35C452

Accessibility & contrast

On white

7.23
#1B642A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1B642A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B642A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B642A#FFFFFF#000000##FFFFFF
##1B642A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B25
Deuteranopia (green-blind)
#5D552E
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b642a;
/* rgb */ color: rgb(27, 100, 42);
/* oklch */ color: oklch(44.5% 0.115 146.9);
Tailwind
colors: {
  custom: {
    50: '#639165',
    500: '#1b642a',
    950: '#000000',
  },
}
SCSS
$custom: #1b642a;
$custom-light: #639165;
$custom-dark: #000000;
JSON
{
  "hex": "#1b642a",
  "rgb": {
    "r": 27,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 132.329,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44455,
    "c": 0.11506,
    "h": 146.9
  },
  "luminance": 0.09515
}

Semantic roles & 50–950 ramp

primary
#1B642A
secondary
#994187
accent
#47C1E1
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1B642A

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

Preview Lab → · Contrast checker → · Palette generator →

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