#1B7F45#1B7F45

#1B7F45 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.126 H 152.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1B7F45
RGBrgb(27, 127, 69)
HSLhsl(145, 65%, 30%)
HSVhsv(145, 79%, 50%)
CMYKcmyk(78.7%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.76, -41.67, 23.73)
CIE-LCHlch(46.76, 47.96, 150.34°)
OKLaboklab(52.7% -0.1121 0.0585)
OKLCHoklch(52.7% 0.126 152.4)
XYZxyz(9.1147, 15.8403, 8.2062)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F45 #7F1B55
analogous
#237F1B #1B7F45 #1B7F77
triadic
#1B7F45 #451B7F #7F451B
tetradic
#1B7F45 #1B237F #7F1B55 #7F771B
square
#1B7F45 #1B237F #7F1B55 #7F771B
split-complementary
#1B7F45 #771B7F #7F1B23
monochromatic
#061A0E #104D2A #1B7F45 #26B160 #3ED67E

Accessibility & contrast

On white

5.04
#1B7F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1B7F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7F45
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F45#FFFFFF#000000##FFFFFF
##1B7F451.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1b7f45;
/* rgb */ color: rgb(27, 127, 69);
/* oklch */ color: oklch(52.7% 0.126 152.4);
Tailwind
colors: {
  custom: {
    50: '#69a579',
    500: '#1b7f45',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f45;
$custom-light: #69a579;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f45",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 145.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.12644,
    "h": 152.4
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B7F45

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

Preview Lab → · Contrast checker → · Palette generator →

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