#1B7B2F#1B7B2F

#1B7B2F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.142 H 146.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1B7B2F
RGBrgb(27, 123, 47)
HSLhsl(133, 64%, 29%)
HSVhsv(133, 78%, 48%)
CMYKcmyk(78%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.09, -43.75, 33.30)
CIE-LCHlch(45.09, 54.98, 142.72°)
OKLaboklab(51.21% -0.1178 0.0786)
OKLCHoklch(51.21% 0.142 146.3)
XYZxyz(8.0475, 14.6032, 5.0834)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B2F #7B1B67
analogous
#377B1B #1B7B2F #1B7B5F
triadic
#1B7B2F #2F1B7B #7B2F1B
tetradic
#1B7B2F #1B377B #7B1B67 #7B5F1B
square
#1B7B2F #1B377B #7B1B67 #7B5F1B
split-complementary
#1B7B2F #5F1B7B #7B1B37
monochromatic
#06190A #10491C #1B7B2F #26AD42 #3CD45C

Accessibility & contrast

On white

5.36
#1B7B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1B7B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7B2F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B2F#FFFFFF#000000##FFFFFF
##1B7B2F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7b2f;
/* rgb */ color: rgb(27, 123, 47);
/* oklch */ color: oklch(51.2% 0.142 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a26a',
    500: '#1b7b2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b2f;
$custom-light: #68a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b2f",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 132.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.14166,
    "h": 146.3
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#1B7B2F
secondary
#AF4398
accent
#41C4E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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