#1B7D34#1B7D34

#1B7D34 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.140 H 147.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1B7D34
RGBrgb(27, 125, 52)
HSLhsl(135, 64%, 30%)
HSVhsv(135, 78%, 49%)
CMYKcmyk(78.4%, 0%, 58.4%, 51%)
CIE-LABlab(45.84, -43.77, 31.67)
CIE-LCHlch(45.84, 54.03, 144.12°)
OKLaboklab(51.85% -0.1178 0.0755)
OKLCHoklch(51.85% 0.14 147.4)
XYZxyz(8.4048, 15.1472, 5.7289)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D34 #7D1B64
analogous
#337D1B #1B7D34 #1B7D65
triadic
#1B7D34 #341B7D #7D341B
tetradic
#1B7D34 #1B337D #7D1B64 #7D651B
square
#1B7D34 #1B337D #7D1B64 #7D651B
split-complementary
#1B7D34 #651B7D #7D1B33
monochromatic
#05190A #104B1F #1B7D34 #26AF49 #3DD564

Accessibility & contrast

On white

5.21
#1B7D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1B7D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D34
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D34#FFFFFF#000000##FFFFFF
##1B7D341.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712D
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7d34;
/* rgb */ color: rgb(27, 125, 52);
/* oklch */ color: oklch(51.8% 0.140 147.4);
Tailwind
colors: {
  custom: {
    50: '#69a46e',
    500: '#1b7d34',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d34;
$custom-light: #69a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d34",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 52
  },
  "hsl": {
    "h": 135.306,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.13987,
    "h": 147.4
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#1B7D34
secondary
#B14395
accent
#40BDE7
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7D34

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

Preview Lab → · Contrast checker → · Palette generator →

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