#1B7D31#1B7D31

#1B7D31 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.143 H 146.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1B7D31
RGBrgb(27, 125, 49)
HSLhsl(133, 64%, 30%)
HSVhsv(133, 78%, 49%)
CMYKcmyk(78.4%, 0%, 60.8%, 51%)
CIE-LABlab(45.80, -44.20, 33.14)
CIE-LCHlch(45.80, 55.24, 143.14°)
OKLaboklab(51.81% -0.119 0.0784)
OKLCHoklch(51.81% 0.143 146.6)
XYZxyz(8.3394, 15.1210, 5.3843)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D31 #7D1B67
analogous
#367D1B #1B7D31 #1B7D62
triadic
#1B7D31 #311B7D #7D311B
tetradic
#1B7D31 #1B367D #7D1B67 #7D621B
square
#1B7D31 #1B367D #7D1B67 #7D621B
split-complementary
#1B7D31 #621B7D #7D1B36
monochromatic
#05190A #104B1D #1B7D31 #26AF45 #3DD55F

Accessibility & contrast

On white

5.22
#1B7D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1B7D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D31
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D31#FFFFFF#000000##FFFFFF
##1B7D311.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7d31;
/* rgb */ color: rgb(27, 125, 49);
/* oklch */ color: oklch(51.8% 0.143 146.6);
Tailwind
colors: {
  custom: {
    50: '#69a46c',
    500: '#1b7d31',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d31;
$custom-light: #69a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d31",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 133.469,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51807,
    "c": 0.14252,
    "h": 146.6
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#1B7D31
secondary
#B14398
accent
#40C2E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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