#1B7939#1B7939

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

Color values

HEX#1B7939
RGBrgb(27, 121, 57)
HSLhsl(139, 64%, 29%)
HSVhsv(139, 78%, 47%)
CMYKcmyk(77.7%, 0%, 52.9%, 52.5%)
CIE-LABlab(44.52, -41.50, 27.45)
CIE-LCHlch(44.52, 49.76, 146.51°)
OKLaboklab(50.78% -0.1116 0.0665)
OKLCHoklch(50.78% 0.13 149.2)
XYZxyz(8.0272, 14.2022, 6.1883)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7939 #791B5B
analogous
#2C791B #1B7939 #1B7968
triadic
#1B7939 #391B79 #79391B
tetradic
#1B7939 #1B2C79 #791B5B #79681B
square
#1B7939 #1B2C79 #791B5B #79681B
split-complementary
#1B7939 #681B79 #791B2C
monochromatic
#06190C #104721 #1B7939 #26AB51 #3BD36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7939#FFFFFF#000000##FFFFFF
##1B79391.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)
#7A6E34
Deuteranopia (green-blind)
#6F663E
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7939;
/* rgb */ color: rgb(27, 121, 57);
/* oklch */ color: oklch(50.8% 0.130 149.2);
Tailwind
colors: {
  custom: {
    50: '#67a171',
    500: '#1b7939',
    950: '#000000',
  },
}
SCSS
$custom: #1b7939;
$custom-light: #67a171;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7939",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 139.149,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50781,
    "c": 0.12986,
    "h": 149.2
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#1B7939
secondary
#AD438B
accent
#41B2E7
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7939

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

Preview Lab → · Contrast checker → · Palette generator →

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