#1B7D2A#1B7D2A

#1B7D2A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.148 H 145.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1B7D2A
RGBrgb(27, 125, 42)
HSLhsl(129, 64%, 30%)
HSVhsv(129, 78%, 49%)
CMYKcmyk(78.4%, 0%, 66.4%, 51%)
CIE-LABlab(45.73, -45.10, 36.44)
CIE-LCHlch(45.73, 57.98, 141.06°)
OKLaboklab(51.72% -0.1217 0.0848)
OKLCHoklch(51.72% 0.148 145.1)
XYZxyz(8.2030, 15.0665, 4.6658)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D2A #7D1B6E
analogous
#3D7D1B #1B7D2A #1B7D5B
triadic
#1B7D2A #2A1B7D #7D2A1B
tetradic
#1B7D2A #1B3D7D #7D1B6E #7D5B1B
square
#1B7D2A #1B3D7D #7D1B6E #7D5B1B
split-complementary
#1B7D2A #5B1B7D #7D1B3D
monochromatic
#051908 #104B19 #1B7D2A #26AF3B #3DD555

Accessibility & contrast

On white

5.23
#1B7D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1B7D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D2A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D2A#FFFFFF#000000##FFFFFF
##1B7D2A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d2a;
/* rgb */ color: rgb(27, 125, 42);
/* oklch */ color: oklch(51.7% 0.148 145.1);
Tailwind
colors: {
  custom: {
    50: '#69a467',
    500: '#1b7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d2a;
$custom-light: #69a467;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d2a",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 129.184,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.14834,
    "h": 145.1
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#1B7D2A
secondary
#B143A0
accent
#40CEE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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