#1A8228#1A8228

#1A8228 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.156 H 144.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1A8228
RGBrgb(26, 130, 40)
HSLhsl(128, 67%, 31%)
HSVhsv(128, 80%, 51%)
CMYKcmyk(80%, 0%, 69.2%, 49%)
CIE-LABlab(47.41, -47.22, 39.19)
CIE-LCHlch(47.41, 61.36, 140.31°)
OKLaboklab(53.11% -0.1275 0.0904)
OKLCHoklch(53.11% 0.156 144.7)
XYZxyz(8.7910, 16.3370, 4.6971)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8228 #821A74
analogous
#40821A #1A8228 #1A825C
triadic
#1A8228 #281A82 #82281A
tetradic
#1A8228 #1A4082 #821A74 #825C1A
square
#1A8228 #1A4082 #821A74 #825C1A
split-complementary
#1A8228 #5C1A82 #821A40
monochromatic
#061C09 #104F18 #1A8228 #24B538 #3ED853

Accessibility & contrast

On white

4.92
#1A8228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1A8228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8228
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8228#FFFFFF#000000##FFFFFF
##1A82281.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a8228;
/* rgb */ color: rgb(26, 130, 40);
/* oklch */ color: oklch(53.1% 0.156 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa767',
    500: '#1a8228',
    950: '#000000',
  },
}
SCSS
$custom: #1a8228;
$custom-light: #6aa767;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8228",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 128.077,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.15631,
    "h": 144.7
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#1A8228
secondary
#B642A6
accent
#3ED3EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1A8228

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

Preview Lab → · Contrast checker → · Palette generator →

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