#1B7A2C#1B7A2C

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

Color values

HEX#1B7A2C
RGBrgb(27, 122, 44)
HSLhsl(131, 64%, 29%)
HSVhsv(131, 78%, 48%)
CMYKcmyk(77.9%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.71, -43.78, 34.34)
CIE-LCHlch(44.71, 55.64, 141.89°)
OKLaboklab(50.88% -0.118 0.0806)
OKLCHoklch(50.88% 0.143 145.7)
XYZxyz(7.8656, 14.3330, 4.7344)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A2C #7A1B69
analogous
#3A7A1B #1B7A2C #1B7A5C
triadic
#1B7A2C #2C1B7A #7A2C1B
tetradic
#1B7A2C #1B3A7A #7A1B69 #7A5C1B
square
#1B7A2C #1B3A7A #7A1B69 #7A5C1B
split-complementary
#1B7A2C #5C1B7A #7A1B3A
monochromatic
#061909 #10481A #1B7A2C #26AC3E #3CD457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7A2C#FFFFFF#000000##FFFFFF
##1B7A2C1.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)
#7C6E23
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7a2c;
/* rgb */ color: rgb(27, 122, 44);
/* oklch */ color: oklch(50.9% 0.143 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a168',
    500: '#1b7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a2c;
$custom-light: #68a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a2c",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 130.737,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.14291,
    "h": 145.7
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#1B7A2C
secondary
#AE439B
accent
#41C9E7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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