#1A9828#1A9828

#1A9828 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.182 H 144.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1A9828
RGBrgb(26, 152, 40)
HSLhsl(127, 71%, 35%)
HSVhsv(127, 83%, 60%)
CMYKcmyk(82.9%, 0%, 73.7%, 40.4%)
CIE-LABlab(54.89, -54.49, 47.07)
CIE-LCHlch(54.89, 72.01, 139.18°)
OKLaboklab(59.33% -0.1473 0.107)
OKLCHoklch(59.33% 0.182 144)
XYZxyz(12.0364, 22.8278, 5.7789)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A9828 #981A8A
analogous
#4B981A #1A9828 #1A9867
triadic
#1A9828 #281A98 #98281A
tetradic
#1A9828 #1A4B98 #981A8A #98671A
square
#1A9828 #1A4B98 #981A8A #98671A
split-complementary
#1A9828 #671A98 #981A4B
monochromatic
#082F0C #11641A #1A9828 #23CC36 #4CE05D

Accessibility & contrast

On white

3.77
#1A9828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1A9828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A9828
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A9828#FFFFFF#000000##000000
##1A98281.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1a9828;
/* rgb */ color: rgb(26, 152, 40);
/* oklch */ color: oklch(59.3% 0.182 144.0);
Tailwind
colors: {
  custom: {
    50: '#70b869',
    500: '#1a9828',
    950: '#000000',
  },
}
SCSS
$custom: #1a9828;
$custom-light: #70b869;
$custom-dark: #000000;
JSON
{
  "hex": "#1a9828",
  "rgb": {
    "r": 26,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 126.667,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59331,
    "c": 0.18204,
    "h": 144
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#1A9828
secondary
#C24BB5
accent
#3ADAEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1A9828

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

Preview Lab → · Contrast checker → · Palette generator →

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