#1B7845#1B7845

#1B7845 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.117 H 154.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1B7845
RGBrgb(27, 120, 69)
HSLhsl(147, 63%, 29%)
HSVhsv(147, 78%, 47%)
CMYKcmyk(77.5%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.37, -38.90, 20.61)
CIE-LCHlch(44.37, 44.02, 152.08°)
OKLaboklab(50.72% -0.1048 0.0512)
OKLCHoklch(50.72% 0.117 154)
XYZxyz(8.2419, 14.0947, 7.9152)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7845 #781B4E
analogous
#20781B #1B7845 #1B7874
triadic
#1B7845 #451B78 #78451B
tetradic
#1B7845 #1B2078 #781B4E #78741B
square
#1B7845 #1B2078 #781B4E #78741B
split-complementary
#1B7845 #741B78 #781B20
monochromatic
#06190E #104628 #1B7845 #26AA62 #3BD37F

Accessibility & contrast

On white

5.50
#1B7845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1B7845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7845
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7845#FFFFFF#000000##FFFFFF
##1B78451.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7845;
/* rgb */ color: rgb(27, 120, 69);
/* oklch */ color: oklch(50.7% 0.117 154.0);
Tailwind
colors: {
  custom: {
    50: '#67a079',
    500: '#1b7845',
    950: '#000000',
  },
}
SCSS
$custom: #1b7845;
$custom-light: #67a079;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7845",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 147.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.11666,
    "h": 154
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#1B7845
secondary
#AC437D
accent
#419CE6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1B7845

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

Preview Lab → · Contrast checker → · Palette generator →

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