#1A842E#1A842E

#1A842E is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.154 H 145.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1A842E
RGBrgb(26, 132, 46)
HSLhsl(131, 67%, 31%)
HSVhsv(131, 80%, 52%)
CMYKcmyk(80.3%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.16, -47.22, 37.29)
CIE-LCHlch(48.16, 60.17, 141.70°)
OKLaboklab(53.75% -0.1273 0.0871)
OKLCHoklch(53.75% 0.154 145.6)
XYZxyz(9.1697, 16.9183, 5.3665)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A842E #841A70
analogous
#3B841A #1A842E #1A8463
triadic
#1A842E #2E1A84 #842E1A
tetradic
#1A842E #1A3B84 #841A70 #84631A
square
#1A842E #1A3B84 #841A70 #84631A
split-complementary
#1A842E #631A84 #841A3B
monochromatic
#061E0A #10511C #1A842E #24B740 #3FD95C

Accessibility & contrast

On white

4.79
#1A842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1A842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A842E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A842E#FFFFFF#000000##FFFFFF
##1A842E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1a842e;
/* rgb */ color: rgb(26, 132, 46);
/* oklch */ color: oklch(53.7% 0.154 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aa96a',
    500: '#1a842e',
    950: '#000000',
  },
}
SCSS
$custom: #1a842e;
$custom-light: #6aa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a842e",
  "rgb": {
    "r": 26,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 131.321,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.15418,
    "h": 145.6
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#1A842E
secondary
#B842A1
accent
#3ECAEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1A842E

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

Preview Lab → · Contrast checker → · Palette generator →

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