#1A8229#1A8229

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

Color values

HEX#1A8229
RGBrgb(26, 130, 41)
HSLhsl(129, 67%, 31%)
HSVhsv(129, 80%, 51%)
CMYKcmyk(80%, 0%, 68.5%, 49%)
CIE-LABlab(47.42, -47.11, 38.76)
CIE-LCHlch(47.42, 61.00, 140.55°)
OKLaboklab(53.12% -0.1272 0.0896)
OKLCHoklch(53.12% 0.156 144.8)
XYZxyz(8.8083, 16.3439, 4.7879)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8229 #821A73
analogous
#3F821A #1A8229 #1A825D
triadic
#1A8229 #291A82 #82291A
tetradic
#1A8229 #1A3F82 #821A73 #825D1A
square
#1A8229 #1A3F82 #821A73 #825D1A
split-complementary
#1A8229 #5D1A82 #821A3F
monochromatic
#061C09 #104F19 #1A8229 #24B539 #3ED854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8229#FFFFFF#000000##FFFFFF
##1A82291.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)
#84751D
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1a8229;
/* rgb */ color: rgb(26, 130, 41);
/* oklch */ color: oklch(53.1% 0.156 144.8);
Tailwind
colors: {
  custom: {
    50: '#6aa767',
    500: '#1a8229',
    950: '#000000',
  },
}
SCSS
$custom: #1a8229;
$custom-light: #6aa767;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8229",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 128.654,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.15557,
    "h": 144.8
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#1A8229
secondary
#B642A5
accent
#3ED1EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1A8229

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

Preview Lab → · Contrast checker → · Palette generator →

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