#1A8F31#1A8F31

#1A8F31 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.165 H 145.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1A8F31
RGBrgb(26, 143, 49)
HSLhsl(132, 69%, 33%)
HSVhsv(132, 82%, 56%)
CMYKcmyk(81.8%, 0%, 65.7%, 43.9%)
CIE-LABlab(51.93, -50.62, 40.13)
CIE-LCHlch(51.93, 64.60, 141.60°)
OKLaboklab(56.89% -0.1364 0.0934)
OKLCHoklch(56.89% 0.165 145.6)
XYZxyz(10.8021, 20.0850, 6.2126)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8F31 #8F1A78
analogous
#3D8F1A #1A8F31 #1A8F6B
triadic
#1A8F31 #311A8F #8F311A
tetradic
#1A8F31 #1A3D8F #8F1A78 #8F6B1A
square
#1A8F31 #1A3D8F #8F1A78 #8F6B1A
split-complementary
#1A8F31 #6B1A8F #8F1A3D
monochromatic
#07270E #115B1F #1A8F31 #23C343 #46DD64

Accessibility & contrast

On white

4.19
#1A8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#1A8F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8F31
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8F31#FFFFFF#000000##000000
##1A8F311.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1a8f31;
/* rgb */ color: rgb(26, 143, 49);
/* oklch */ color: oklch(56.9% 0.165 145.6);
Tailwind
colors: {
  custom: {
    50: '#6db16d',
    500: '#1a8f31',
    950: '#000000',
  },
}
SCSS
$custom: #1a8f31;
$custom-light: #6db16d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8f31",
  "rgb": {
    "r": 26,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 131.795,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.16532,
    "h": 145.6
  },
  "luminance": 0.20086
}

Semantic roles & 50–950 ramp

primary
#1A8F31
secondary
#BF46A7
accent
#3CC9EC
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1A8F31

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

Preview Lab → · Contrast checker → · Palette generator →

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