#1A942F#1A942F

#1A942F is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.173 H 145.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1A942F
RGBrgb(26, 148, 47)
HSLhsl(130, 70%, 34%)
HSVhsv(130, 82%, 58%)
CMYKcmyk(82.4%, 0%, 68.2%, 42%)
CIE-LABlab(53.60, -52.51, 42.85)
CIE-LCHlch(53.60, 67.78, 140.79°)
OKLaboklab(58.28% -0.1416 0.099)
OKLCHoklch(58.28% 0.173 145.1)
XYZxyz(11.5282, 21.6032, 6.2510)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A942F #941A7F
analogous
#42941A #1A942F #1A946C
triadic
#1A942F #2F1A94 #942F1A
tetradic
#1A942F #1A4294 #941A7F #946C1A
square
#1A942F #1A4294 #941A7F #946C1A
split-complementary
#1A942F #6C1A94 #941A42
monochromatic
#082C0E #11601E #1A942F #23C840 #49DF63

Accessibility & contrast

On white

3.95
#1A942F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#1A942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A942F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A942F#FFFFFF#000000##000000
##1A942F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978622
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1a942f;
/* rgb */ color: rgb(26, 148, 47);
/* oklch */ color: oklch(58.3% 0.173 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fb56c',
    500: '#1a942f',
    950: '#000000',
  },
}
SCSS
$custom: #1a942f;
$custom-light: #6fb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a942f",
  "rgb": {
    "r": 26,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 130.328,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.17276,
    "h": 145.1
  },
  "luminance": 0.21605
}

Semantic roles & 50–950 ramp

primary
#1A942F
secondary
#C149AC
accent
#3BCEED
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1A942F

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

Preview Lab → · Contrast checker → · Palette generator →

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