#1B7428#1B7428

#1B7428 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.138 H 145.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1B7428
RGBrgb(27, 116, 40)
HSLhsl(129, 62%, 28%)
HSVhsv(129, 77%, 45%)
CMYKcmyk(76.7%, 0%, 65.5%, 54.5%)
CIE-LABlab(42.58, -42.11, 33.85)
CIE-LCHlch(42.58, 54.03, 141.20°)
OKLaboklab(49.1% -0.1137 0.0791)
OKLCHoklch(49.1% 0.138 145.2)
XYZxyz(7.0799, 12.8762, 4.1193)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7428 #741B67
analogous
#3A741B #1B7428 #1B7454
triadic
#1B7428 #281B74 #74281B
tetradic
#1B7428 #1B3A74 #741B67 #74541B
square
#1B7428 #1B3A74 #741B67 #74541B
split-complementary
#1B7428 #541B74 #741B3A
monochromatic
#061909 #0F4217 #1B7428 #27A639 #39D14F

Accessibility & contrast

On white

5.87
#1B7428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1B7428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7428
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7428#FFFFFF#000000##FFFFFF
##1B74281.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1b7428;
/* rgb */ color: rgb(27, 116, 40);
/* oklch */ color: oklch(49.1% 0.138 145.2);
Tailwind
colors: {
  custom: {
    50: '#679d65',
    500: '#1b7428',
    950: '#000000',
  },
}
SCSS
$custom: #1b7428;
$custom-light: #679d65;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7428",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 128.764,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.13848,
    "h": 145.2
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#1B7428
secondary
#A9429A
accent
#42CEE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1B7428

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

Preview Lab → · Contrast checker → · Palette generator →

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