#1B7E1D#1B7E1D

#1B7E1D is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.159 H 143.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1B7E1D
RGBrgb(27, 126, 29)
HSLhsl(121, 65%, 30%)
HSVhsv(121, 79%, 49%)
CMYKcmyk(78.6%, 0%, 77%, 50.6%)
CIE-LABlab(45.96, -46.75, 42.20)
CIE-LCHlch(45.96, 62.98, 137.93°)
OKLaboklab(51.89% -0.1268 0.0953)
OKLCHoklch(51.89% 0.159 143.1)
XYZxyz(8.1341, 15.2425, 3.6756)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E1D #7E1B7C
analogous
#4B7E1B #1B7E1D #1B7E4E
triadic
#1B7E1D #1D1B7E #7E1D1B
tetradic
#1B7E1D #1B4B7E #7E1B7C #7E4E1B
square
#1B7E1D #1B4B7E #7E1B7C #7E4E1B
split-complementary
#1B7E1D #4E1B7E #7E1B4B
monochromatic
#051906 #104C11 #1B7E1D #26B029 #3ED641

Accessibility & contrast

On white

5.19
#1B7E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1B7E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E1D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E1D#FFFFFF#000000##FFFFFF
##1B7E1D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e1d;
/* rgb */ color: rgb(27, 126, 29);
/* oklch */ color: oklch(51.9% 0.159 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa460',
    500: '#1b7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e1d;
$custom-light: #6aa460;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e1d",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 121.212,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.15861,
    "h": 143.1
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#1B7E1D
secondary
#B243B0
accent
#40E4E8
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1B7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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