#1B7D45#1B7D45

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

Color values

HEX#1B7D45
RGBrgb(27, 125, 69)
HSLhsl(146, 64%, 30%)
HSVhsv(146, 78%, 49%)
CMYKcmyk(78.4%, 0%, 44.8%, 51%)
CIE-LABlab(46.08, -40.89, 22.85)
CIE-LCHlch(46.08, 46.84, 150.80°)
OKLaboklab(52.13% -0.11 0.0565)
OKLCHoklch(52.13% 0.124 152.8)
XYZxyz(8.8590, 15.3289, 8.1209)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D45 #7D1B53
analogous
#227D1B #1B7D45 #1B7D76
triadic
#1B7D45 #451B7D #7D451B
tetradic
#1B7D45 #1B227D #7D1B53 #7D761B
square
#1B7D45 #1B227D #7D1B53 #7D761B
split-complementary
#1B7D45 #761B7D #7D1B22
monochromatic
#05190E #104B29 #1B7D45 #26AF61 #3DD57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7D45#FFFFFF#000000##FFFFFF
##1B7D451.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)
#7D7241
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7d45;
/* rgb */ color: rgb(27, 125, 69);
/* oklch */ color: oklch(52.1% 0.124 152.8);
Tailwind
colors: {
  custom: {
    50: '#68a379',
    500: '#1b7d45',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d45;
$custom-light: #68a379;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d45",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 145.714,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.12367,
    "h": 152.8
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#1B7D45
secondary
#B14382
accent
#40A0E7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7D45

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

Preview Lab → · Contrast checker → · Palette generator →

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