#1B4E15#1B4E15

#1B4E15 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.103 H 141.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#1B4E15
RGBrgb(27, 78, 21)
HSLhsl(114, 58%, 19%)
HSVhsv(114, 73%, 31%)
CMYKcmyk(65.4%, 0%, 73.1%, 69.4%)
CIE-LABlab(28.74, -29.52, 27.72)
CIE-LCHlch(28.74, 40.49, 136.80°)
OKLaboklab(37.58% -0.0806 0.0639)
OKLCHoklch(37.58% 0.103 141.6)
XYZxyz(3.3116, 5.7356, 1.6419)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E15 #48154E
analogous
#384E15 #1B4E15 #154E2C
triadic
#1B4E15 #151B4E #4E151B
tetradic
#1B4E15 #15384E #48154E #4E2C15
square
#1B4E15 #15384E #48154E #4E2C15
split-complementary
#1B4E15 #2C154E #4E1538
monochromatic
#081806 #0A1E08 #1B4E15 #2C7E22 #3CAE2F

Accessibility & contrast

On white

9.78
#1B4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1B4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E15
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E15#FFFFFF#000000##FFFFFF
##1B4E151.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460D
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#134B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b4e15;
/* rgb */ color: rgb(27, 78, 21);
/* oklch */ color: oklch(37.6% 0.103 141.6);
Tailwind
colors: {
  custom: {
    50: '#5e8055',
    500: '#1b4e15',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e15;
$custom-light: #5e8055;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e15",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 113.684,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37584,
    "c": 0.1028,
    "h": 141.6
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#1B4E15
secondary
#7E3986
accent
#47E1D1
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1B4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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