#1B712A#1B712A

#1B712A is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.133 H 145.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1B712A
RGBrgb(27, 113, 42)
HSLhsl(130, 61%, 27%)
HSVhsv(130, 76%, 44%)
CMYKcmyk(76.1%, 0%, 62.8%, 55.7%)
CIE-LABlab(41.55, -40.74, 31.70)
CIE-LCHlch(41.55, 51.62, 142.11°)
OKLaboklab(48.26% -0.1099 0.0747)
OKLCHoklch(48.26% 0.133 145.8)
XYZxyz(6.7746, 12.2097, 4.1897)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B712A #711B62
analogous
#37711B #1B712A #1B7155
triadic
#1B712A #2A1B71 #712A1B
tetradic
#1B712A #1B3771 #711B62 #71551B
square
#1B712A #1B3771 #711B62 #71551B
split-complementary
#1B712A #551B71 #711B37
monochromatic
#061909 #0F4018 #1B712A #27A23C #37CF52

Accessibility & contrast

On white

6.10
#1B712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#1B712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B712A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B712A#FFFFFF#000000##FFFFFF
##1B712A1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736622
Deuteranopia (green-blind)
#695F30
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1b712a;
/* rgb */ color: rgb(27, 113, 42);
/* oklch */ color: oklch(48.3% 0.133 145.8);
Tailwind
colors: {
  custom: {
    50: '#669b66',
    500: '#1b712a',
    950: '#000000',
  },
}
SCSS
$custom: #1b712a;
$custom-light: #669b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b712a",
  "rgb": {
    "r": 27,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 130.465,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.13286,
    "h": 145.8
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#1B712A
secondary
#A64294
accent
#43C8E5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1B712A

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

Preview Lab → · Contrast checker → · Palette generator →

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