#1B812E#1B812E

#1B812E is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.150 H 145.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1B812E
RGBrgb(27, 129, 46)
HSLhsl(131, 65%, 31%)
HSVhsv(131, 79%, 51%)
CMYKcmyk(79.1%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.14, -46.02, 36.15)
CIE-LCHlch(47.14, 58.52, 141.85°)
OKLaboklab(52.91% -0.124 0.0846)
OKLCHoklch(52.91% 0.15 145.7)
XYZxyz(8.7948, 16.1297, 5.2341)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B812E #811B6E
analogous
#3B811B #1B812E #1B8161
triadic
#1B812E #2E1B81 #812E1B
tetradic
#1B812E #1B3B81 #811B6E #81611B
square
#1B812E #1B3B81 #811B6E #81611B
split-complementary
#1B812E #611B81 #811B3B
monochromatic
#061C0A #104E1C #1B812E #26B440 #3FD75C

Accessibility & contrast

On white

4.97
#1B812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1B812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B812E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B812E#FFFFFF#000000##FFFFFF
##1B812E1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b812e;
/* rgb */ color: rgb(27, 129, 46);
/* oklch */ color: oklch(52.9% 0.150 145.7);
Tailwind
colors: {
  custom: {
    50: '#6aa76a',
    500: '#1b812e',
    950: '#000000',
  },
}
SCSS
$custom: #1b812e;
$custom-light: #6aa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b812e",
  "rgb": {
    "r": 27,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 131.176,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.15016,
    "h": 145.7
  },
  "luminance": 0.16131
}

Semantic roles & 50–950 ramp

primary
#1B812E
secondary
#B5439F
accent
#3FC9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B812E

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

Preview Lab → · Contrast checker → · Palette generator →

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