#1B831A#1B831A

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

Color values

HEX#1B831A
RGBrgb(27, 131, 26)
HSLhsl(119, 67%, 31%)
HSVhsv(119, 80%, 51%)
CMYKcmyk(79.4%, 0%, 80.2%, 48.6%)
CIE-LABlab(47.67, -48.65, 44.96)
CIE-LCHlch(47.67, 66.24, 137.26°)
OKLaboklab(53.3% -0.1321 0.1006)
OKLCHoklch(53.3% 0.166 142.7)
XYZxyz(8.7542, 16.5392, 3.7081)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B831A #821A83
analogous
#4F831A #1B831A #1A834D
triadic
#1B831A #1A1B83 #831A1B
tetradic
#1B831A #1A4F83 #821A83 #834D1A
square
#1B831A #1A4F83 #821A83 #834D1A
split-complementary
#1B831A #4D1A83 #831A4F
monochromatic
#061D06 #105010 #1B831A #26B624 #40D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B831A#FFFFFF#000000##FFFFFF
##1B831A1.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)
#867600
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1b831a;
/* rgb */ color: rgb(27, 131, 26);
/* oklch */ color: oklch(53.3% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca85f',
    500: '#1b831a',
    950: '#000000',
  },
}
SCSS
$custom: #1b831a;
$custom-light: #6ca85f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b831a",
  "rgb": {
    "r": 27,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 119.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53301,
    "c": 0.16606,
    "h": 142.7
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#1B831A
secondary
#B642B7
accent
#3EEAE8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1B831A

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

Preview Lab → · Contrast checker → · Palette generator →

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