#1B4F2F#1B4F2F

#1B4F2F is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.078 H 153.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1B4F2F
RGBrgb(27, 79, 47)
HSLhsl(143, 49%, 21%)
HSVhsv(143, 66%, 31%)
CMYKcmyk(65.8%, 0%, 40.5%, 69%)
CIE-LABlab(29.49, -25.69, 13.91)
CIE-LCHlch(29.49, 29.21, 151.56°)
OKLaboklab(38.33% -0.0696 0.0348)
OKLCHoklch(38.33% 0.078 153.4)
XYZxyz(3.7608, 6.0298, 3.6545)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4F2F #4F1B3B
analogous
#214F1B #1B4F2F #1B4F49
triadic
#1B4F2F #2F1B4F #4F2F1B
tetradic
#1B4F2F #1B214F #4F1B3B #4F491B
square
#1B4F2F #1B214F #4F1B3B #4F491B
split-complementary
#1B4F2F #491B4F #4F1B21
monochromatic
#08170E #0B2114 #1B4F2F #2B7D4A #3AAA65

Accessibility & contrast

On white

9.52
#1B4F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B4F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4F2F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4F2F#FFFFFF#000000##FFFFFF
##1B4F2F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#484431
Tritanopia (blue-blind)
#094E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4f2f;
/* rgb */ color: rgb(27, 79, 47);
/* oklch */ color: oklch(38.3% 0.078 153.4);
Tailwind
colors: {
  custom: {
    50: '#5d8167',
    500: '#1b4f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b4f2f;
$custom-light: #5d8167;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4f2f",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 47
  },
  "hsl": {
    "h": 143.077,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.07784,
    "h": 153.4
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#1B4F2F
secondary
#85416B
accent
#4FA4D9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1B4F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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