#1B7A45#1B7A45

#1B7A45 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.3% C 0.119 H 153.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1B7A45
RGBrgb(27, 122, 69)
HSLhsl(147, 64%, 29%)
HSVhsv(147, 78%, 48%)
CMYKcmyk(77.9%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.05, -39.70, 21.51)
CIE-LCHlch(45.05, 45.16, 151.55°)
OKLaboklab(51.28% -0.1069 0.0533)
OKLCHoklch(51.28% 0.119 153.5)
XYZxyz(8.4849, 14.5808, 7.9963)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A45 #7A1B50
analogous
#217A1B #1B7A45 #1B7A75
triadic
#1B7A45 #451B7A #7A451B
tetradic
#1B7A45 #1B217A #7A1B50 #7A751B
square
#1B7A45 #1B217A #7A1B50 #7A751B
split-complementary
#1B7A45 #751B7A #7A1B21
monochromatic
#06190E #104829 #1B7A45 #26AC61 #3CD47F

Accessibility & contrast

On white

5.36
#1B7A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1B7A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A45
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A45#FFFFFF#000000##FFFFFF
##1B7A451.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F41
Deuteranopia (green-blind)
#6F6749
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7a45;
/* rgb */ color: rgb(27, 122, 69);
/* oklch */ color: oklch(51.3% 0.119 153.5);
Tailwind
colors: {
  custom: {
    50: '#67a179',
    500: '#1b7a45',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a45;
$custom-light: #67a179;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a45",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 146.526,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.11947,
    "h": 153.5
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#1B7A45
secondary
#AE437F
accent
#419DE7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7A45

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

Preview Lab → · Contrast checker → · Palette generator →

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