#1B7C3E#1B7C3E

#1B7C3E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.129 H 150.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1B7C3E
RGBrgb(27, 124, 62)
HSLhsl(142, 64%, 30%)
HSVhsv(142, 78%, 49%)
CMYKcmyk(78.2%, 0%, 50%, 51.4%)
CIE-LABlab(45.63, -41.79, 26.13)
CIE-LCHlch(45.63, 49.29, 147.99°)
OKLaboklab(51.72% -0.1123 0.0637)
OKLCHoklch(51.72% 0.129 150.4)
XYZxyz(8.5284, 14.9951, 7.0014)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C3E #7C1B59
analogous
#297C1B #1B7C3E #1B7C6E
triadic
#1B7C3E #3E1B7C #7C3E1B
tetradic
#1B7C3E #1B297C #7C1B59 #7C6E1B
square
#1B7C3E #1B297C #7C1B59 #7C6E1B
split-complementary
#1B7C3E #6E1B7C #7C1B29
monochromatic
#05190D #104A25 #1B7C3E #26AE57 #3DD574

Accessibility & contrast

On white

5.25
#1B7C3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1B7C3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C3E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C3E#FFFFFF#000000##FFFFFF
##1B7C3E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7139
Deuteranopia (green-blind)
#716942
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7c3e;
/* rgb */ color: rgb(27, 124, 62);
/* oklch */ color: oklch(51.7% 0.129 150.4);
Tailwind
colors: {
  custom: {
    50: '#68a374',
    500: '#1b7c3e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c3e;
$custom-light: #68a374;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c3e",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 62
  },
  "hsl": {
    "h": 141.649,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.12914,
    "h": 150.4
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#1B7C3E
secondary
#B04389
accent
#41ABE7
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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