#1B7D2E#1B7D2E

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

Color values

HEX#1B7D2E
RGBrgb(27, 125, 46)
HSLhsl(132, 64%, 30%)
HSVhsv(132, 78%, 49%)
CMYKcmyk(78.4%, 0%, 63.2%, 51%)
CIE-LABlab(45.77, -44.60, 34.58)
CIE-LCHlch(45.77, 56.43, 142.21°)
OKLaboklab(51.77% -0.1202 0.0813)
OKLCHoklch(51.77% 0.145 145.9)
XYZxyz(8.2782, 15.0965, 5.0619)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D2E #7D1B6A
analogous
#397D1B #1B7D2E #1B7D5F
triadic
#1B7D2E #2E1B7D #7D2E1B
tetradic
#1B7D2E #1B397D #7D1B6A #7D5F1B
square
#1B7D2E #1B397D #7D1B6A #7D5F1B
split-complementary
#1B7D2E #5F1B7D #7D1B39
monochromatic
#051909 #104B1B #1B7D2E #26AF41 #3DD55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7D2E#FFFFFF#000000##FFFFFF
##1B7D2E1.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)
#7F7125
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d2e;
/* rgb */ color: rgb(27, 125, 46);
/* oklch */ color: oklch(51.8% 0.145 145.9);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1b7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d2e;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d2e",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 131.633,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.14509,
    "h": 145.9
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#1B7D2E
secondary
#B1439C
accent
#40C7E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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