#1A842D#1A842D

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

Color values

HEX#1A842D
RGBrgb(26, 132, 45)
HSLhsl(131, 67%, 31%)
HSVhsv(131, 80%, 52%)
CMYKcmyk(80.3%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.15, -47.34, 37.74)
CIE-LCHlch(48.15, 60.54, 141.44°)
OKLaboklab(53.74% -0.1276 0.0879)
OKLCHoklch(53.74% 0.155 145.4)
XYZxyz(9.1503, 16.9105, 5.2639)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A842D #841A71
analogous
#3C841A #1A842D #1A8462
triadic
#1A842D #2D1A84 #842D1A
tetradic
#1A842D #1A3C84 #841A71 #84621A
square
#1A842D #1A3C84 #841A71 #84621A
split-complementary
#1A842D #621A84 #841A3C
monochromatic
#061E0A #10511C #1A842D #24B73E #3FD95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A842D#FFFFFF#000000##FFFFFF
##1A842D1.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)
#867723
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1a842d;
/* rgb */ color: rgb(26, 132, 45);
/* oklch */ color: oklch(53.7% 0.155 145.4);
Tailwind
colors: {
  custom: {
    50: '#6aa96a',
    500: '#1a842d',
    950: '#000000',
  },
}
SCSS
$custom: #1a842d;
$custom-light: #6aa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a842d",
  "rgb": {
    "r": 26,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 130.755,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.15497,
    "h": 145.4
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#1A842D
secondary
#B842A3
accent
#3ECBEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1A842D

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

Preview Lab → · Contrast checker → · Palette generator →

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