#1A831F#1A831F

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

Color values

HEX#1A831F
RGBrgb(26, 131, 31)
HSLhsl(123, 67%, 31%)
HSVhsv(123, 80%, 51%)
CMYKcmyk(80.2%, 0%, 76.3%, 48.6%)
CIE-LABlab(47.69, -48.42, 43.17)
CIE-LCHlch(47.69, 64.87, 138.28°)
OKLaboklab(53.32% -0.1312 0.0976)
OKLCHoklch(53.32% 0.164 143.3)
XYZxyz(8.7891, 16.5501, 4.0273)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A831F #831A7E
analogous
#49831A #1A831F #1A8353
triadic
#1A831F #1F1A83 #831F1A
tetradic
#1A831F #1A4983 #831A7E #83531A
square
#1A831F #1A4983 #831A7E #83531A
split-complementary
#1A831F #531A83 #831A49
monochromatic
#061D07 #105013 #1A831F #24B62B #3FD946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A831F#FFFFFF#000000##FFFFFF
##1A831F1.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)
#86760B
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1a831f;
/* rgb */ color: rgb(26, 131, 31);
/* oklch */ color: oklch(53.3% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba862',
    500: '#1a831f',
    950: '#000000',
  },
}
SCSS
$custom: #1a831f;
$custom-light: #6ba862;
$custom-dark: #000000;
JSON
{
  "hex": "#1a831f",
  "rgb": {
    "r": 26,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 122.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.16351,
    "h": 143.3
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#1A831F
secondary
#B742B1
accent
#3EE2EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1A831F

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

Preview Lab → · Contrast checker → · Palette generator →

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