#1B4A2D#1B4A2D

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

Color values

HEX#1B4A2D
RGBrgb(27, 74, 45)
HSLhsl(143, 47%, 20%)
HSVhsv(143, 64%, 29%)
CMYKcmyk(63.5%, 0%, 39.2%, 71%)
CIE-LABlab(27.63, -23.72, 12.67)
CIE-LCHlch(27.63, 26.89, 151.89°)
OKLaboklab(36.79% -0.0644 0.0318)
OKLCHoklch(36.79% 0.072 153.7)
XYZxyz(3.3742, 5.3197, 3.3311)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A2D #4A1B38
analogous
#204A1B #1B4A2D #1B4A45
triadic
#1B4A2D #2D1B4A #4A2D1B
tetradic
#1B4A2D #1B204A #4A1B38 #4A451B
square
#1B4A2D #1B204A #4A1B38 #4A451B
split-complementary
#1B4A2D #451B4A #4A1B20
monochromatic
#08160E #0B1D12 #1B4A2D #2B7748 #3CA464

Accessibility & contrast

On white

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

On black

2.06
#1B4A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B4A2D#FFFFFF#000000##FFFFFF
##1B4A2D1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#443F2F
Tritanopia (blue-blind)
#0C4943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b4a2d;
/* rgb */ color: rgb(27, 74, 45);
/* oklch */ color: oklch(36.8% 0.072 153.7);
Tailwind
colors: {
  custom: {
    50: '#5c7d66',
    500: '#1b4a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a2d;
$custom-light: #5c7d66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a2d",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 45
  },
  "hsl": {
    "h": 142.979,
    "s": 46.535,
    "l": 19.804
  },
  "oklch": {
    "l": 0.36789,
    "c": 0.07181,
    "h": 153.7
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#1B4A2D
secondary
#804168
accent
#52A3D6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1B4A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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