#1B7937#1B7937

#1B7937 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.132 H 148.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1B7937
RGBrgb(27, 121, 55)
HSLhsl(138, 64%, 29%)
HSVhsv(138, 78%, 47%)
CMYKcmyk(77.7%, 0%, 54.5%, 52.5%)
CIE-LABlab(44.49, -41.82, 28.49)
CIE-LCHlch(44.49, 50.60, 145.74°)
OKLaboklab(50.75% -0.1125 0.0686)
OKLCHoklch(50.75% 0.132 148.6)
XYZxyz(7.9783, 14.1827, 5.9307)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7937 #791B5D
analogous
#2E791B #1B7937 #1B7966
triadic
#1B7937 #371B79 #79371B
tetradic
#1B7937 #1B2E79 #791B5D #79661B
square
#1B7937 #1B2E79 #791B5D #79661B
split-complementary
#1B7937 #661B79 #791B2E
monochromatic
#06190B #104720 #1B7937 #26AB4E #3BD368

Accessibility & contrast

On white

5.47
#1B7937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1B7937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7937
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7937#FFFFFF#000000##FFFFFF
##1B79371.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E31
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7937;
/* rgb */ color: rgb(27, 121, 55);
/* oklch */ color: oklch(50.7% 0.132 148.6);
Tailwind
colors: {
  custom: {
    50: '#67a16f',
    500: '#1b7937',
    950: '#000000',
  },
}
SCSS
$custom: #1b7937;
$custom-light: #67a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7937",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 137.872,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.13176,
    "h": 148.6
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#1B7937
secondary
#AD438D
accent
#41B5E7
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7937

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

Preview Lab → · Contrast checker → · Palette generator →

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