#1B7E2F#1B7E2F

#1B7E2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.146 H 146.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1B7E2F
RGBrgb(27, 126, 47)
HSLhsl(132, 65%, 30%)
HSVhsv(132, 79%, 49%)
CMYKcmyk(78.6%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.12, -44.83, 34.50)
CIE-LCHlch(46.12, 56.57, 142.42°)
OKLaboklab(52.07% -0.1208 0.0812)
OKLCHoklch(52.07% 0.146 146.1)
XYZxyz(8.4253, 15.3590, 5.2093)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E2F #7E1B6A
analogous
#397E1B #1B7E2F #1B7E60
triadic
#1B7E2F #2F1B7E #7E2F1B
tetradic
#1B7E2F #1B397E #7E1B6A #7E601B
square
#1B7E2F #1B397E #7E1B6A #7E601B
split-complementary
#1B7E2F #601B7E #7E1B39
monochromatic
#051909 #104C1C #1B7E2F #26B042 #3ED65C

Accessibility & contrast

On white

5.16
#1B7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1B7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E2F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E2F#FFFFFF#000000##FFFFFF
##1B7E2F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e2f;
/* rgb */ color: rgb(27, 126, 47);
/* oklch */ color: oklch(52.1% 0.146 146.1);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1b7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e2f;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e2f",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 132.121,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.14553,
    "h": 146.1
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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