#1B7A2F#1B7A2F

#1B7A2F is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.140 H 146.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1B7A2F
RGBrgb(27, 122, 47)
HSLhsl(133, 64%, 29%)
HSVhsv(133, 78%, 48%)
CMYKcmyk(77.9%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.74, -43.38, 32.90)
CIE-LCHlch(44.74, 54.45, 142.82°)
OKLaboklab(50.92% -0.1169 0.0777)
OKLCHoklch(50.92% 0.14 146.4)
XYZxyz(7.9240, 14.3564, 5.0422)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A2F #7A1B66
analogous
#377A1B #1B7A2F #1B7A5F
triadic
#1B7A2F #2F1B7A #7A2F1B
tetradic
#1B7A2F #1B377A #7A1B66 #7A5F1B
square
#1B7A2F #1B377A #7A1B66 #7A5F1B
split-complementary
#1B7A2F #5F1B7A #7A1B37
monochromatic
#06190A #10481C #1B7A2F #26AC42 #3CD45C

Accessibility & contrast

On white

5.42
#1B7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1B7A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A2F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A2F#FFFFFF#000000##FFFFFF
##1B7A2F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7a2f;
/* rgb */ color: rgb(27, 122, 47);
/* oklch */ color: oklch(50.9% 0.140 146.4);
Tailwind
colors: {
  custom: {
    50: '#68a16a',
    500: '#1b7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a2f;
$custom-light: #68a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a2f",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 132.632,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.14035,
    "h": 146.4
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#1B7A2F
secondary
#AE4398
accent
#41C4E7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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