#1B7E45#1B7E45

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

Color values

HEX#1B7E45
RGBrgb(27, 126, 69)
HSLhsl(145, 65%, 30%)
HSVhsv(145, 79%, 49%)
CMYKcmyk(78.6%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.42, -41.28, 23.29)
CIE-LCHlch(46.42, 47.40, 150.57°)
OKLaboklab(52.41% -0.1111 0.0575)
OKLCHoklch(52.41% 0.125 152.6)
XYZxyz(8.9862, 15.5833, 8.1634)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E45 #7E1B54
analogous
#227E1B #1B7E45 #1B7E77
triadic
#1B7E45 #451B7E #7E451B
tetradic
#1B7E45 #1B227E #7E1B54 #7E771B
square
#1B7E45 #1B227E #7E1B54 #7E771B
split-complementary
#1B7E45 #771B7E #7E1B22
monochromatic
#05190E #104C29 #1B7E45 #26B061 #3ED67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7E45#FFFFFF#000000##FFFFFF
##1B7E451.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)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7e45;
/* rgb */ color: rgb(27, 126, 69);
/* oklch */ color: oklch(52.4% 0.125 152.6);
Tailwind
colors: {
  custom: {
    50: '#68a479',
    500: '#1b7e45',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e45;
$custom-light: #68a479;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e45",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 145.455,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.12505,
    "h": 152.6
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#1B7E45
secondary
#B24383
accent
#40A1E8
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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