#1B7F2F#1B7F2F

#1B7F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.147 H 146.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1B7F2F
RGBrgb(27, 127, 47)
HSLhsl(132, 65%, 30%)
HSVhsv(132, 79%, 50%)
CMYKcmyk(78.7%, 0%, 63%, 50.2%)
CIE-LABlab(46.47, -45.19, 34.90)
CIE-LCHlch(46.47, 57.09, 142.32°)
OKLaboklab(52.35% -0.1217 0.082)
OKLCHoklch(52.35% 0.147 146)
XYZxyz(8.5538, 15.6160, 5.2521)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F2F #7F1B6B
analogous
#397F1B #1B7F2F #1B7F61
triadic
#1B7F2F #2F1B7F #7F2F1B
tetradic
#1B7F2F #1B397F #7F1B6B #7F611B
square
#1B7F2F #1B397F #7F1B6B #7F611B
split-complementary
#1B7F2F #611B7F #7F1B39
monochromatic
#061A0A #104D1C #1B7F2F #26B142 #3ED65D

Accessibility & contrast

On white

5.09
#1B7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1B7F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7F2F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F2F#FFFFFF#000000##FFFFFF
##1B7F2F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f2f;
/* rgb */ color: rgb(27, 127, 47);
/* oklch */ color: oklch(52.4% 0.147 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a56a',
    500: '#1b7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f2f;
$custom-light: #69a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f2f",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.14681,
    "h": 146
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#1B7F2F
secondary
#B3439C
accent
#40C6E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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