#1B7D2C#1B7D2C

#1B7D2C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.147 H 145.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1B7D2C
RGBrgb(27, 125, 44)
HSLhsl(130, 64%, 30%)
HSVhsv(130, 78%, 49%)
CMYKcmyk(78.4%, 0%, 64.8%, 51%)
CIE-LABlab(45.75, -44.85, 35.52)
CIE-LCHlch(45.75, 57.21, 141.63°)
OKLaboklab(51.74% -0.121 0.0831)
OKLCHoklch(51.74% 0.147 145.5)
XYZxyz(8.2396, 15.0811, 4.8591)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D2C #7D1B6C
analogous
#3B7D1B #1B7D2C #1B7D5D
triadic
#1B7D2C #2C1B7D #7D2C1B
tetradic
#1B7D2C #1B3B7D #7D1B6C #7D5D1B
square
#1B7D2C #1B3B7D #7D1B6C #7D5D1B
split-complementary
#1B7D2C #5D1B7D #7D1B3B
monochromatic
#051909 #104B1A #1B7D2C #26AF3E #3DD558

Accessibility & contrast

On white

5.23
#1B7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7D2C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D2C#FFFFFF#000000##FFFFFF
##1B7D2C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7d2c;
/* rgb */ color: rgb(27, 125, 44);
/* oklch */ color: oklch(51.7% 0.147 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a468',
    500: '#1b7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d2c;
$custom-light: #69a468;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d2c",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 130.408,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.14674,
    "h": 145.5
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#1B7D2C
secondary
#B1439E
accent
#40CAE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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