#1B7F2B#1B7F2B

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

Color values

HEX#1B7F2B
RGBrgb(27, 127, 43)
HSLhsl(130, 65%, 30%)
HSVhsv(130, 79%, 50%)
CMYKcmyk(78.7%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.43, -45.68, 36.75)
CIE-LCHlch(46.43, 58.63, 141.18°)
OKLaboklab(52.31% -0.1232 0.0856)
OKLCHoklch(52.31% 0.15 145.2)
XYZxyz(8.4768, 15.5852, 4.8465)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F2B #7F1B6F
analogous
#3D7F1B #1B7F2B #1B7F5D
triadic
#1B7F2B #2B1B7F #7F2B1B
tetradic
#1B7F2B #1B3D7F #7F1B6F #7F5D1B
square
#1B7F2B #1B3D7F #7F1B6F #7F5D1B
split-complementary
#1B7F2B #5D1B7F #7F1B3D
monochromatic
#061A09 #104D1A #1B7F2B #26B13C #3ED657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7F2B#FFFFFF#000000##FFFFFF
##1B7F2B1.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)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f2b;
/* rgb */ color: rgb(27, 127, 43);
/* oklch */ color: oklch(52.3% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa568',
    500: '#1b7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f2b;
$custom-light: #6aa568;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f2b",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 129.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.15006,
    "h": 145.2
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#1B7F2B
secondary
#B343A1
accent
#40CDE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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