#1B7F2C#1B7F2C

#1B7F2C is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.149 H 145.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1B7F2C
RGBrgb(27, 127, 44)
HSLhsl(130, 65%, 30%)
HSVhsv(130, 79%, 50%)
CMYKcmyk(78.7%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.44, -45.56, 36.29)
CIE-LCHlch(46.44, 58.25, 141.46°)
OKLaboklab(52.32% -0.1229 0.0847)
OKLCHoklch(52.32% 0.149 145.4)
XYZxyz(8.4954, 15.5926, 4.9443)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F2C #7F1B6E
analogous
#3C7F1B #1B7F2C #1B7F5E
triadic
#1B7F2C #2C1B7F #7F2C1B
tetradic
#1B7F2C #1B3C7F #7F1B6E #7F5E1B
square
#1B7F2C #1B3C7F #7F1B6E #7F5E1B
split-complementary
#1B7F2C #5E1B7F #7F1B3C
monochromatic
#061A09 #104D1B #1B7F2C #26B13D #3ED658

Accessibility & contrast

On white

5.10
#1B7F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7F2C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F2C#FFFFFF#000000##FFFFFF
##1B7F2C1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7f2c;
/* rgb */ color: rgb(27, 127, 44);
/* oklch */ color: oklch(52.3% 0.149 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa569',
    500: '#1b7f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f2c;
$custom-light: #6aa569;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f2c",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 130.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.14927,
    "h": 145.4
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#1B7F2C
secondary
#B343A0
accent
#40CBE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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