#1A812E#1A812E

#1A812E is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.150 H 145.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1A812E
RGBrgb(26, 129, 46)
HSLhsl(132, 66%, 30%)
HSVhsv(132, 80%, 51%)
CMYKcmyk(79.8%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.13, -46.17, 36.12)
CIE-LCHlch(47.13, 58.62, 141.96°)
OKLaboklab(52.89% -0.1244 0.0846)
OKLCHoklch(52.89% 0.15 145.8)
XYZxyz(8.7688, 16.1163, 5.2329)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A812E #811A6D
analogous
#3A811A #1A812E #1A8161
triadic
#1A812E #2E1A81 #812E1A
tetradic
#1A812E #1A3A81 #811A6D #81611A
square
#1A812E #1A3A81 #811A6D #81611A
split-complementary
#1A812E #611A81 #811A3A
monochromatic
#051B0A #104E1C #1A812E #24B440 #3DD85B

Accessibility & contrast

On white

4.97
#1A812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1A812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A812E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A812E#FFFFFF#000000##FFFFFF
##1A812E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a812e;
/* rgb */ color: rgb(26, 129, 46);
/* oklch */ color: oklch(52.9% 0.150 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa76a',
    500: '#1a812e',
    950: '#000000',
  },
}
SCSS
$custom: #1a812e;
$custom-light: #6aa76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a812e",
  "rgb": {
    "r": 26,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 131.65,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.15043,
    "h": 145.8
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#1A812E
secondary
#B5429F
accent
#3EC8E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A812E

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

Preview Lab → · Contrast checker → · Palette generator →

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