#1B7938#1B7938

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

Color values

HEX#1B7938
RGBrgb(27, 121, 56)
HSLhsl(139, 64%, 29%)
HSVhsv(139, 78%, 47%)
CMYKcmyk(77.7%, 0%, 53.7%, 52.5%)
CIE-LABlab(44.51, -41.66, 27.97)
CIE-LCHlch(44.51, 50.18, 146.12°)
OKLaboklab(50.77% -0.112 0.0676)
OKLCHoklch(50.77% 0.131 148.9)
XYZxyz(8.0025, 14.1923, 6.0583)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7938 #791B5C
analogous
#2D791B #1B7938 #1B7967
triadic
#1B7938 #381B79 #79381B
tetradic
#1B7938 #1B2D79 #791B5C #79671B
square
#1B7938 #1B2D79 #791B5C #79671B
split-complementary
#1B7938 #671B79 #791B2D
monochromatic
#06190C #104721 #1B7938 #26AB4F #3BD36A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7938#FFFFFF#000000##FFFFFF
##1B79381.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)
#7A6E32
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7938;
/* rgb */ color: rgb(27, 121, 56);
/* oklch */ color: oklch(50.8% 0.131 148.9);
Tailwind
colors: {
  custom: {
    50: '#67a170',
    500: '#1b7938',
    950: '#000000',
  },
}
SCSS
$custom: #1b7938;
$custom-light: #67a170;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7938",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 138.511,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.13081,
    "h": 148.9
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#1B7938
secondary
#AD438C
accent
#41B4E7
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7938

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

Preview Lab → · Contrast checker → · Palette generator →

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