#1B4F2B#1B4F2B

#1B4F2B is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.082 H 150.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1B4F2B
RGBrgb(27, 79, 43)
HSLhsl(138, 49%, 21%)
HSVhsv(138, 66%, 31%)
CMYKcmyk(65.8%, 0%, 45.6%, 69%)
CIE-LABlab(29.41, -26.53, 16.26)
CIE-LCHlch(29.41, 31.11, 148.49°)
OKLaboklab(38.24% -0.0717 0.0403)
OKLCHoklch(38.24% 0.082 150.7)
XYZxyz(3.6837, 5.9990, 3.2488)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F2B #4F1B3F
analogous
#254F1B #1B4F2B #1B4F45
triadic
#1B4F2B #2B1B4F #4F2B1B
tetradic
#1B4F2B #1B254F #4F1B3F #4F451B
square
#1B4F2B #1B254F #4F1B3F #4F451B
split-complementary
#1B4F2B #451B4F #4F1B25
monochromatic
#08170C #0B2112 #1B4F2B #2B7D44 #3AAA5D

Accessibility & contrast

On white

9.55
#1B4F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B4F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F2B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F2B#FFFFFF#000000##FFFFFF
##1B4F2B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4828
Deuteranopia (green-blind)
#49432D
Tritanopia (blue-blind)
#0B4E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4f2b;
/* rgb */ color: rgb(27, 79, 43);
/* oklch */ color: oklch(38.2% 0.082 150.7);
Tailwind
colors: {
  custom: {
    50: '#5e8164',
    500: '#1b4f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f2b;
$custom-light: #5e8164;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f2b",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 43
  },
  "hsl": {
    "h": 138.462,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.08225,
    "h": 150.7
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#1B4F2B
secondary
#854170
accent
#4FAED9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A05
muted
#797C7A

Preview Lab

Preview with #1B4F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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