#1B7A2E#1B7A2E

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

Color values

HEX#1B7A2E
RGBrgb(27, 122, 46)
HSLhsl(132, 64%, 29%)
HSVhsv(132, 78%, 48%)
CMYKcmyk(77.9%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.73, -43.52, 33.39)
CIE-LCHlch(44.73, 54.85, 142.51°)
OKLaboklab(50.91% -0.1173 0.0787)
OKLCHoklch(50.91% 0.141 146.1)
XYZxyz(7.9041, 14.3484, 4.9372)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A2E #7A1B67
analogous
#387A1B #1B7A2E #1B7A5E
triadic
#1B7A2E #2E1B7A #7A2E1B
tetradic
#1B7A2E #1B387A #7A1B67 #7A5E1B
square
#1B7A2E #1B387A #7A1B67 #7A5E1B
split-complementary
#1B7A2E #5E1B7A #7A1B38
monochromatic
#061909 #10481B #1B7A2E #26AC41 #3CD45A

Accessibility & contrast

On white

5.43
#1B7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1B7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7A2E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7A2E#FFFFFF#000000##FFFFFF
##1B7A2E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7a2e;
/* rgb */ color: rgb(27, 122, 46);
/* oklch */ color: oklch(50.9% 0.141 146.1);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1b7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a2e;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a2e",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 132,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.14122,
    "h": 146.1
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#1B7A2E
secondary
#AE4399
accent
#41C6E7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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