#1B7D28#1B7D28

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

Color values

HEX#1B7D28
RGBrgb(27, 125, 40)
HSLhsl(128, 64%, 30%)
HSVhsv(128, 78%, 49%)
CMYKcmyk(78.4%, 0%, 68%, 51%)
CIE-LABlab(45.71, -45.33, 37.33)
CIE-LCHlch(45.71, 58.72, 140.52°)
OKLaboklab(51.7% -0.1224 0.0865)
OKLCHoklch(51.7% 0.15 144.8)
XYZxyz(8.1681, 15.0525, 4.4820)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D28 #7D1B70
analogous
#3F7D1B #1B7D28 #1B7D59
triadic
#1B7D28 #281B7D #7D281B
tetradic
#1B7D28 #1B3F7D #7D1B70 #7D591B
square
#1B7D28 #1B3F7D #7D1B70 #7D591B
split-complementary
#1B7D28 #591B7D #7D1B3F
monochromatic
#051908 #104B18 #1B7D28 #26AF38 #3DD551

Accessibility & contrast

On white

5.24
#1B7D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1B7D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D28
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D28#FFFFFF#000000##FFFFFF
##1B7D281.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d28;
/* rgb */ color: rgb(27, 125, 40);
/* oklch */ color: oklch(51.7% 0.150 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a466',
    500: '#1b7d28',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d28;
$custom-light: #69a466;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d28",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 127.959,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.1499,
    "h": 144.8
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#1B7D28
secondary
#B143A2
accent
#40D1E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7D28

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

Preview Lab → · Contrast checker → · Palette generator →

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