#1A831B#1A831B

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

Color values

HEX#1A831B
RGBrgb(26, 131, 27)
HSLhsl(121, 67%, 31%)
HSVhsv(121, 80%, 51%)
CMYKcmyk(80.2%, 0%, 79.4%, 48.6%)
CIE-LABlab(47.66, -48.73, 44.60)
CIE-LCHlch(47.66, 66.06, 137.54°)
OKLaboklab(53.29% -0.1322 0.1)
OKLCHoklch(53.29% 0.166 142.9)
XYZxyz(8.7396, 16.5303, 3.7668)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A831B #831A82
analogous
#4D831A #1A831B #1A834F
triadic
#1A831B #1B1A83 #831B1A
tetradic
#1A831B #1A4D83 #831A82 #834F1A
square
#1A831B #1A4D83 #831A82 #834F1A
split-complementary
#1A831B #4F1A83 #831A4D
monochromatic
#061D06 #105010 #1A831B #24B626 #3FD940

Accessibility & contrast

On white

4.88
#1A831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1A831B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A831B#FFFFFF#000000##FFFFFF
##1A831B1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#007F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1a831b;
/* rgb */ color: rgb(26, 131, 27);
/* oklch */ color: oklch(53.3% 0.166 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ba860',
    500: '#1a831b',
    950: '#000000',
  },
}
SCSS
$custom: #1a831b;
$custom-light: #6ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#1a831b",
  "rgb": {
    "r": 26,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 120.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.16579,
    "h": 142.9
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#1A831B
secondary
#B742B6
accent
#3EE8EA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A831B

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

Preview Lab → · Contrast checker → · Palette generator →

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