#1B7F2E#1B7F2E

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

Color values

HEX#1B7F2E
RGBrgb(27, 127, 46)
HSLhsl(131, 65%, 30%)
HSVhsv(131, 79%, 50%)
CMYKcmyk(78.7%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.46, -45.31, 35.37)
CIE-LCHlch(46.46, 57.48, 142.03°)
OKLaboklab(52.34% -0.1221 0.083)
OKLCHoklch(52.34% 0.148 145.8)
XYZxyz(8.5339, 15.6080, 5.1471)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F2E #7F1B6C
analogous
#3A7F1B #1B7F2E #1B7F60
triadic
#1B7F2E #2E1B7F #7F2E1B
tetradic
#1B7F2E #1B3A7F #7F1B6C #7F601B
square
#1B7F2E #1B3A7F #7F1B6C #7F601B
split-complementary
#1B7F2E #601B7F #7F1B3A
monochromatic
#061A09 #104D1C #1B7F2E #26B140 #3ED65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7F2E#FFFFFF#000000##FFFFFF
##1B7F2E1.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)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f2e;
/* rgb */ color: rgb(27, 127, 46);
/* oklch */ color: oklch(52.3% 0.148 145.8);
Tailwind
colors: {
  custom: {
    50: '#69a56a',
    500: '#1b7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f2e;
$custom-light: #69a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f2e",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 131.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.14764,
    "h": 145.8
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#1B7F2E
secondary
#B3439E
accent
#40C8E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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