#1A5022#1A5022

#1A5022 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.094 H 146.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#1A5022
RGBrgb(26, 80, 34)
HSLhsl(129, 51%, 21%)
HSVhsv(129, 68%, 31%)
CMYKcmyk(67.5%, 0%, 57.5%, 68.6%)
CIE-LABlab(29.59, -28.87, 21.79)
CIE-LCHlch(29.59, 36.17, 142.95°)
OKLaboklab(38.33% -0.0781 0.0524)
OKLCHoklch(38.33% 0.094 146.1)
XYZxyz(3.5832, 6.0721, 2.4963)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5022 #501A48
analogous
#2D501A #1A5022 #1A503D
triadic
#1A5022 #221A50 #50221A
tetradic
#1A5022 #1A2D50 #501A48 #503D1A
square
#1A5022 #1A2D50 #501A48 #503D1A
split-complementary
#1A5022 #3D1A50 #501A2D
monochromatic
#08170A #0B220E #1A5022 #297E36 #38AC49

Accessibility & contrast

On white

9.48
#1A5022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A5022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5022
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5022#FFFFFF#000000##FFFFFF
##1A50221.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51491E
Deuteranopia (green-blind)
#4A4425
Tritanopia (blue-blind)
#0D4E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a5022;
/* rgb */ color: rgb(26, 80, 34);
/* oklch */ color: oklch(38.3% 0.094 146.1);
Tailwind
colors: {
  custom: {
    50: '#5e825e',
    500: '#1a5022',
    950: '#000000',
  },
}
SCSS
$custom: #1a5022;
$custom-light: #5e825e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5022",
  "rgb": {
    "r": 26,
    "g": 80,
    "b": 34
  },
  "hsl": {
    "h": 128.889,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.09403,
    "h": 146.1
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#1A5022
secondary
#86407C
accent
#4DC6DA
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #1A5022

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

Preview Lab → · Contrast checker → · Palette generator →

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