#1B7E2D#1B7E2D

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

Color values

HEX#1B7E2D
RGBrgb(27, 126, 45)
HSLhsl(131, 65%, 30%)
HSVhsv(131, 79%, 49%)
CMYKcmyk(78.6%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.10, -45.08, 35.44)
CIE-LCHlch(46.10, 57.35, 141.83°)
OKLaboklab(52.04% -0.1215 0.083)
OKLCHoklch(52.04% 0.147 145.7)
XYZxyz(8.3859, 15.3432, 5.0017)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E2D #7E1B6C
analogous
#3B7E1B #1B7E2D #1B7E5E
triadic
#1B7E2D #2D1B7E #7E2D1B
tetradic
#1B7E2D #1B3B7E #7E1B6C #7E5E1B
square
#1B7E2D #1B3B7E #7E1B6C #7E5E1B
split-complementary
#1B7E2D #5E1B7E #7E1B3B
monochromatic
#051909 #104C1B #1B7E2D #26B03F #3ED659

Accessibility & contrast

On white

5.16
#1B7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1B7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E2D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E2D#FFFFFF#000000##FFFFFF
##1B7E2D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e2d;
/* rgb */ color: rgb(27, 126, 45);
/* oklch */ color: oklch(52.0% 0.147 145.7);
Tailwind
colors: {
  custom: {
    50: '#69a469',
    500: '#1b7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e2d;
$custom-light: #69a469;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e2d",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 130.909,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.14719,
    "h": 145.7
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#1B7E2D
secondary
#B2439E
accent
#40C9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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