#1B4A2E#1B4A2E

#1B4A2E is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.8% C 0.071 H 154.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1B4A2E
RGBrgb(27, 74, 46)
HSLhsl(144, 47%, 20%)
HSVhsv(144, 64%, 29%)
CMYKcmyk(63.5%, 0%, 37.8%, 71%)
CIE-LABlab(27.65, -23.50, 12.07)
CIE-LCHlch(27.65, 26.41, 152.81°)
OKLaboklab(36.81% -0.0638 0.0304)
OKLCHoklch(36.81% 0.071 154.6)
XYZxyz(3.3936, 5.3275, 3.4337)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A2E #4A1B37
analogous
#204A1B #1B4A2E #1B4A46
triadic
#1B4A2E #2E1B4A #4A2E1B
tetradic
#1B4A2E #1B204A #4A1B37 #4A461B
square
#1B4A2E #1B204A #4A1B37 #4A461B
split-complementary
#1B4A2E #461B4A #4A1B20
monochromatic
#08160E #0B1D12 #1B4A2E #2B774A #3CA466

Accessibility & contrast

On white

10.17
#1B4A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1B4A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4A2E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4A2E#FFFFFF#000000##FFFFFF
##1B4A2E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442C
Deuteranopia (green-blind)
#433F30
Tritanopia (blue-blind)
#0C4943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4a2e;
/* rgb */ color: rgb(27, 74, 46);
/* oklch */ color: oklch(36.8% 0.071 154.6);
Tailwind
colors: {
  custom: {
    50: '#5c7d67',
    500: '#1b4a2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a2e;
$custom-light: #5c7d67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a2e",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 46
  },
  "hsl": {
    "h": 144.255,
    "s": 46.535,
    "l": 19.804
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.0707,
    "h": 154.6
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#1B4A2E
secondary
#804166
accent
#52A1D6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1B4A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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