#1B7C2D#1B7C2D

#1B7C2D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.145 H 145.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1B7C2D
RGBrgb(27, 124, 45)
HSLhsl(131, 64%, 30%)
HSVhsv(131, 78%, 49%)
CMYKcmyk(78.2%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.41, -44.37, 34.66)
CIE-LCHlch(45.41, 56.30, 142.01°)
OKLaboklab(51.47% -0.1196 0.0813)
OKLCHoklch(51.47% 0.145 145.8)
XYZxyz(8.1327, 14.8368, 4.9173)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C2D #7C1B6A
analogous
#3A7C1B #1B7C2D #1B7C5E
triadic
#1B7C2D #2D1B7C #7C2D1B
tetradic
#1B7C2D #1B3A7C #7C1B6A #7C5E1B
square
#1B7C2D #1B3A7C #7C1B6A #7C5E1B
split-complementary
#1B7C2D #5E1B7C #7C1B3A
monochromatic
#051909 #104A1B #1B7C2D #26AE3F #3DD559

Accessibility & contrast

On white

5.29
#1B7C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1B7C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C2D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C2D#FFFFFF#000000##FFFFFF
##1B7C2D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7c2d;
/* rgb */ color: rgb(27, 124, 45);
/* oklch */ color: oklch(51.5% 0.145 145.8);
Tailwind
colors: {
  custom: {
    50: '#69a369',
    500: '#1b7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c2d;
$custom-light: #69a369;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c2d",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 131.134,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.14464,
    "h": 145.8
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#1B7C2D
secondary
#B0439C
accent
#41C8E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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