#1B7A2D#1B7A2D

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

Color values

HEX#1B7A2D
RGBrgb(27, 122, 45)
HSLhsl(131, 64%, 29%)
HSVhsv(131, 78%, 48%)
CMYKcmyk(77.9%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.72, -43.65, 33.86)
CIE-LCHlch(44.72, 55.25, 142.19°)
OKLaboklab(50.9% -0.1177 0.0796)
OKLCHoklch(50.9% 0.142 145.9)
XYZxyz(7.8846, 14.3406, 4.8346)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7A2D #7A1B68
analogous
#397A1B #1B7A2D #1B7A5D
triadic
#1B7A2D #2D1B7A #7A2D1B
tetradic
#1B7A2D #1B397A #7A1B68 #7A5D1B
square
#1B7A2D #1B397A #7A1B68 #7A5D1B
split-complementary
#1B7A2D #5D1B7A #7A1B39
monochromatic
#061909 #10481B #1B7A2D #26AC3F #3CD458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b7a2d;
/* rgb */ color: rgb(27, 122, 45);
/* oklch */ color: oklch(50.9% 0.142 145.9);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1b7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7a2d;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7a2d",
  "rgb": {
    "r": 27,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 131.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.14207,
    "h": 145.9
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#1B7A2D
secondary
#AE439A
accent
#41C7E7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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