#1B7840#1B7840

#1B7840 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.122 H 151.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1B7840
RGBrgb(27, 120, 64)
HSLhsl(144, 63%, 29%)
HSVhsv(144, 78%, 47%)
CMYKcmyk(77.5%, 0%, 46.7%, 52.9%)
CIE-LABlab(44.28, -39.87, 23.32)
CIE-LCHlch(44.28, 46.19, 149.68°)
OKLaboklab(50.62% -0.1073 0.0574)
OKLCHoklch(50.62% 0.122 151.9)
XYZxyz(8.0932, 14.0352, 7.1320)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7840 #781B53
analogous
#25781B #1B7840 #1B786F
triadic
#1B7840 #401B78 #78401B
tetradic
#1B7840 #1B2578 #781B53 #786F1B
square
#1B7840 #1B2578 #781B53 #786F1B
split-complementary
#1B7840 #6F1B78 #781B25
monochromatic
#06190D #104625 #1B7840 #26AA5B #3BD377

Accessibility & contrast

On white

5.52
#1B7840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1B7840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7840
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7840#FFFFFF#000000##FFFFFF
##1B78401.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6D6644
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7840;
/* rgb */ color: rgb(27, 120, 64);
/* oklch */ color: oklch(50.6% 0.122 151.9);
Tailwind
colors: {
  custom: {
    50: '#67a075',
    500: '#1b7840',
    950: '#000000',
  },
}
SCSS
$custom: #1b7840;
$custom-light: #67a075;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7840",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 64
  },
  "hsl": {
    "h": 143.871,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.12163,
    "h": 151.9
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#1B7840
secondary
#AC4382
accent
#41A5E6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1B7840

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

Preview Lab → · Contrast checker → · Palette generator →

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