#1B7F2D#1B7F2D

#1B7F2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 145.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1B7F2D
RGBrgb(27, 127, 45)
HSLhsl(131, 65%, 30%)
HSVhsv(131, 79%, 50%)
CMYKcmyk(78.7%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.45, -45.44, 35.83)
CIE-LCHlch(46.45, 57.87, 141.74°)
OKLaboklab(52.33% -0.1225 0.0838)
OKLCHoklch(52.33% 0.148 145.6)
XYZxyz(8.5144, 15.6002, 5.0445)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F2D #7F1B6D
analogous
#3B7F1B #1B7F2D #1B7F5F
triadic
#1B7F2D #2D1B7F #7F2D1B
tetradic
#1B7F2D #1B3B7F #7F1B6D #7F5F1B
square
#1B7F2D #1B3B7F #7F1B6D #7F5F1B
split-complementary
#1B7F2D #5F1B7F #7F1B3B
monochromatic
#061A09 #104D1B #1B7F2D #26B13F #3ED65A

Accessibility & contrast

On white

5.10
#1B7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1B7F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7F2D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F2D#FFFFFF#000000##FFFFFF
##1B7F2D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f2d;
/* rgb */ color: rgb(27, 127, 45);
/* oklch */ color: oklch(52.3% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a569',
    500: '#1b7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f2d;
$custom-light: #69a569;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f2d",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 130.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.14846,
    "h": 145.6
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#1B7F2D
secondary
#B3439F
accent
#40CAE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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