#1B7D32#1B7D32

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

Color values

HEX#1B7D32
RGBrgb(27, 125, 50)
HSLhsl(134, 64%, 30%)
HSVhsv(134, 78%, 49%)
CMYKcmyk(78.4%, 0%, 60%, 51%)
CIE-LABlab(45.81, -44.06, 32.65)
CIE-LCHlch(45.81, 54.84, 143.46°)
OKLaboklab(51.82% -0.1186 0.0775)
OKLCHoklch(51.82% 0.142 146.9)
XYZxyz(8.3607, 15.1296, 5.4967)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D32 #7D1B66
analogous
#357D1B #1B7D32 #1B7D63
triadic
#1B7D32 #321B7D #7D321B
tetradic
#1B7D32 #1B357D #7D1B66 #7D631B
square
#1B7D32 #1B357D #7D1B66 #7D631B
split-complementary
#1B7D32 #631B7D #7D1B35
monochromatic
#05190A #104B1E #1B7D32 #26AF46 #3DD561

Accessibility & contrast

On white

5.22
#1B7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7D32
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D32#FFFFFF#000000##FFFFFF
##1B7D321.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#746938
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d32;
/* rgb */ color: rgb(27, 125, 50);
/* oklch */ color: oklch(51.8% 0.142 146.9);
Tailwind
colors: {
  custom: {
    50: '#69a46c',
    500: '#1b7d32',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d32;
$custom-light: #69a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d32",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 134.082,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.14165,
    "h": 146.9
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#1B7D32
secondary
#B14397
accent
#40C0E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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