#1B7A3D#1B7A3D

#1B7A3D is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.127 H 150.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1B7A3D
RGBrgb(27, 122, 61)
HSLhsl(141, 64%, 29%)
HSVhsv(141, 78%, 48%)
CMYKcmyk(77.9%, 0%, 50%, 52.2%)
CIE-LABlab(44.92, -41.20, 25.79)
CIE-LCHlch(44.92, 48.60, 147.95°)
OKLaboklab(51.13% -0.1107 0.0629)
OKLCHoklch(51.13% 0.127 150.4)
XYZxyz(8.2531, 14.4880, 6.7755)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A3D #7A1B58
analogous
#297A1B #1B7A3D #1B7A6D
triadic
#1B7A3D #3D1B7A #7A3D1B
tetradic
#1B7A3D #1B297A #7A1B58 #7A6D1B
square
#1B7A3D #1B297A #7A1B58 #7A6D1B
split-complementary
#1B7A3D #6D1B7A #7A1B29
monochromatic
#06190D #104824 #1B7A3D #26AC56 #3CD472

Accessibility & contrast

On white

5.39
#1B7A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7A3D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A3D#FFFFFF#000000##FFFFFF
##1B7A3D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7a3d;
/* rgb */ color: rgb(27, 122, 61);
/* oklch */ color: oklch(51.1% 0.127 150.4);
Tailwind
colors: {
  custom: {
    50: '#68a173',
    500: '#1b7a3d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a3d;
$custom-light: #68a173;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a3d",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 141.474,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51134,
    "c": 0.12737,
    "h": 150.4
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

primary
#1B7A3D
secondary
#AE4388
accent
#41ABE7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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