#1B7A2A#1B7A2A

#1B7A2A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.145 H 145.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1B7A2A
RGBrgb(27, 122, 42)
HSLhsl(129, 64%, 29%)
HSVhsv(129, 78%, 48%)
CMYKcmyk(77.9%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.69, -44.03, 35.27)
CIE-LCHlch(44.69, 56.41, 141.30°)
OKLaboklab(50.86% -0.1188 0.0823)
OKLCHoklch(50.86% 0.145 145.3)
XYZxyz(7.8289, 14.3183, 4.5412)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A2A #7A1B6B
analogous
#3C7A1B #1B7A2A #1B7A5A
triadic
#1B7A2A #2A1B7A #7A2A1B
tetradic
#1B7A2A #1B3C7A #7A1B6B #7A5A1B
square
#1B7A2A #1B3C7A #7A1B6B #7A5A1B
split-complementary
#1B7A2A #5A1B7A #7A1B3C
monochromatic
#061909 #104819 #1B7A2A #26AC3B #3CD454

Accessibility & contrast

On white

5.44
#1B7A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1B7A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A2A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A2A#FFFFFF#000000##FFFFFF
##1B7A2A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7a2a;
/* rgb */ color: rgb(27, 122, 42);
/* oklch */ color: oklch(50.9% 0.145 145.3);
Tailwind
colors: {
  custom: {
    50: '#68a167',
    500: '#1b7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a2a;
$custom-light: #68a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a2a",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 129.474,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.14455,
    "h": 145.3
  },
  "luminance": 0.14319
}

Semantic roles & 50–950 ramp

primary
#1B7A2A
secondary
#AE439D
accent
#41CDE7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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