#1A831C#1A831C

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

Color values

HEX#1A831C
RGBrgb(26, 131, 28)
HSLhsl(121, 67%, 31%)
HSVhsv(121, 80%, 51%)
CMYKcmyk(80.2%, 0%, 78.6%, 48.6%)
CIE-LABlab(47.67, -48.66, 44.25)
CIE-LCHlch(47.67, 65.77, 137.71°)
OKLaboklab(53.3% -0.132 0.0994)
OKLCHoklch(53.3% 0.165 143)
XYZxyz(8.7513, 16.5350, 3.8287)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A831C #831A81
analogous
#4C831A #1A831C #1A8350
triadic
#1A831C #1C1A83 #831C1A
tetradic
#1A831C #1A4C83 #831A81 #83501A
square
#1A831C #1A4C83 #831A81 #83501A
split-complementary
#1A831C #501A83 #831A4C
monochromatic
#061D06 #105011 #1A831C #24B627 #3FD942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A831C#FFFFFF#000000##FFFFFF
##1A831C1.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)
#867604
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1a831c;
/* rgb */ color: rgb(26, 131, 28);
/* oklch */ color: oklch(53.3% 0.165 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ba860',
    500: '#1a831c',
    950: '#000000',
  },
}
SCSS
$custom: #1a831c;
$custom-light: #6ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#1a831c",
  "rgb": {
    "r": 26,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 121.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.16525,
    "h": 143
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#1A831C
secondary
#B742B4
accent
#3EE7EA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1A831C

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

Preview Lab → · Contrast checker → · Palette generator →

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