#1B7D2F#1B7D2F

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

Color values

HEX#1B7D2F
RGBrgb(27, 125, 47)
HSLhsl(132, 64%, 30%)
HSVhsv(132, 78%, 49%)
CMYKcmyk(78.4%, 0%, 62.4%, 51%)
CIE-LABlab(45.78, -44.47, 34.10)
CIE-LCHlch(45.78, 56.04, 142.51°)
OKLaboklab(51.78% -0.1198 0.0803)
OKLCHoklch(51.78% 0.144 146.2)
XYZxyz(8.2981, 15.1045, 5.1669)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D2F #7D1B69
analogous
#387D1B #1B7D2F #1B7D60
triadic
#1B7D2F #2F1B7D #7D2F1B
tetradic
#1B7D2F #1B387D #7D1B69 #7D601B
square
#1B7D2F #1B387D #7D1B69 #7D601B
split-complementary
#1B7D2F #601B7D #7D1B38
monochromatic
#051909 #104B1C #1B7D2F #26AF42 #3DD55C

Accessibility & contrast

On white

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

On black

4.02
#1B7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B7D2F#FFFFFF#000000##FFFFFF
##1B7D2F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d2f;
/* rgb */ color: rgb(27, 125, 47);
/* oklch */ color: oklch(51.8% 0.144 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1b7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d2f;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d2f",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 132.245,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.14425,
    "h": 146.2
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#1B7D2F
secondary
#B1439A
accent
#40C5E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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