#1B7A40#1B7A40

#1B7A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.124 H 151.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1B7A40
RGBrgb(27, 122, 64)
HSLhsl(143, 64%, 29%)
HSVhsv(143, 78%, 48%)
CMYKcmyk(77.9%, 0%, 47.5%, 52.2%)
CIE-LABlab(44.97, -40.66, 24.20)
CIE-LCHlch(44.97, 47.31, 149.24°)
OKLaboklab(51.19% -0.1093 0.0594)
OKLCHoklch(51.19% 0.124 151.5)
XYZxyz(8.3362, 14.5213, 7.2130)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A40 #7A1B55
analogous
#267A1B #1B7A40 #1B7A70
triadic
#1B7A40 #401B7A #7A401B
tetradic
#1B7A40 #1B267A #7A1B55 #7A701B
square
#1B7A40 #1B267A #7A1B55 #7A701B
split-complementary
#1B7A40 #701B7A #7A1B26
monochromatic
#06190D #104826 #1B7A40 #26AC5A #3CD477

Accessibility & contrast

On white

5.38
#1B7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1B7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A40
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A40#FFFFFF#000000##FFFFFF
##1B7A401.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7a40;
/* rgb */ color: rgb(27, 122, 64);
/* oklch */ color: oklch(51.2% 0.124 151.5);
Tailwind
colors: {
  custom: {
    50: '#67a176',
    500: '#1b7a40',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a40;
$custom-light: #67a176;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a40",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 143.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.12442,
    "h": 151.5
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

primary
#1B7A40
secondary
#AE4384
accent
#41A6E7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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