#1B7E2A#1B7E2A

#1B7E2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.150 H 145.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1B7E2A
RGBrgb(27, 126, 42)
HSLhsl(129, 65%, 30%)
HSVhsv(129, 79%, 49%)
CMYKcmyk(78.6%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.07, -45.45, 36.82)
CIE-LCHlch(46.07, 58.49, 140.99°)
OKLaboklab(52.01% -0.1227 0.0856)
OKLCHoklch(52.01% 0.15 145.1)
XYZxyz(8.3302, 15.3209, 4.7082)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E2A #7E1B6F
analogous
#3D7E1B #1B7E2A #1B7E5C
triadic
#1B7E2A #2A1B7E #7E2A1B
tetradic
#1B7E2A #1B3D7E #7E1B6F #7E5C1B
square
#1B7E2A #1B3D7E #7E1B6F #7E5C1B
split-complementary
#1B7E2A #5C1B7E #7E1B3D
monochromatic
#051908 #104C19 #1B7E2A #26B03B #3ED655

Accessibility & contrast

On white

5.17
#1B7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1B7E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E2A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E2A#FFFFFF#000000##FFFFFF
##1B7E2A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e2a;
/* rgb */ color: rgb(27, 126, 42);
/* oklch */ color: oklch(52.0% 0.150 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a467',
    500: '#1b7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e2a;
$custom-light: #69a467;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e2a",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 129.091,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.14959,
    "h": 145.1
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#1B7E2A
secondary
#B243A1
accent
#40CEE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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