#1B7C3F#1B7C3F

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

Color values

HEX#1B7C3F
RGBrgb(27, 124, 63)
HSLhsl(142, 64%, 30%)
HSVhsv(142, 78%, 49%)
CMYKcmyk(78.2%, 0%, 49.2%, 51.4%)
CIE-LABlab(45.64, -41.61, 25.60)
CIE-LCHlch(45.64, 48.86, 148.40°)
OKLaboklab(51.74% -0.1119 0.0626)
OKLCHoklch(51.74% 0.128 150.8)
XYZxyz(8.5561, 15.0062, 7.1472)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C3F #7C1B58
analogous
#287C1B #1B7C3F #1B7C70
triadic
#1B7C3F #3F1B7C #7C3F1B
tetradic
#1B7C3F #1B287C #7C1B58 #7C701B
square
#1B7C3F #1B287C #7C1B58 #7C701B
split-complementary
#1B7C3F #701B7C #7C1B28
monochromatic
#05190D #104A25 #1B7C3F #26AE59 #3DD575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7C3F#FFFFFF#000000##FFFFFF
##1B7C3F1.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)
#7D713A
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7c3f;
/* rgb */ color: rgb(27, 124, 63);
/* oklch */ color: oklch(51.7% 0.128 150.8);
Tailwind
colors: {
  custom: {
    50: '#68a375',
    500: '#1b7c3f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c3f;
$custom-light: #68a375;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c3f",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 63
  },
  "hsl": {
    "h": 142.268,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.12817,
    "h": 150.8
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#1B7C3F
secondary
#B04387
accent
#41A9E7
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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