#1B831E#1B831E

#1B831E is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.3% C 0.164 H 143.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1B831E
RGBrgb(27, 131, 30)
HSLhsl(122, 66%, 31%)
HSVhsv(122, 79%, 51%)
CMYKcmyk(79.4%, 0%, 77.1%, 48.6%)
CIE-LABlab(47.70, -48.35, 43.56)
CIE-LCHlch(47.70, 65.08, 137.98°)
OKLaboklab(53.33% -0.1311 0.0983)
OKLCHoklch(53.33% 0.164 143.1)
XYZxyz(8.8021, 16.5583, 3.9602)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B831E #831B80
analogous
#4C831B #1B831E #1B8352
triadic
#1B831E #1E1B83 #831E1B
tetradic
#1B831E #1B4C83 #831B80 #83521B
square
#1B831E #1B4C83 #831B80 #83521B
split-complementary
#1B831E #521B83 #831B4C
monochromatic
#061E07 #115012 #1B831E #25B62A #41D845

Accessibility & contrast

On white

4.87
#1B831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1B831E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B831E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B831E#FFFFFF#000000##FFFFFF
##1B831E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b831e;
/* rgb */ color: rgb(27, 131, 30);
/* oklch */ color: oklch(53.3% 0.164 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ba861',
    500: '#1b831e',
    950: '#000000',
  },
}
SCSS
$custom: #1b831e;
$custom-light: #6ba861;
$custom-dark: #000000;
JSON
{
  "hex": "#1b831e",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 121.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.16385,
    "h": 143.1
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#1B831E
secondary
#B643B3
accent
#3FE4E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1B831E

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

Preview Lab → · Contrast checker → · Palette generator →

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