#1A8A1F#1A8A1F

#1A8A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.172 H 143.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1A8A1F
RGBrgb(26, 138, 31)
HSLhsl(123, 68%, 32%)
HSVhsv(123, 81%, 54%)
CMYKcmyk(81.2%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.09, -50.72, 45.57)
CIE-LCHlch(50.09, 68.19, 138.06°)
OKLaboklab(55.32% -0.1374 0.1026)
OKLCHoklch(55.32% 0.172 143.3)
XYZxyz(9.7612, 18.4943, 4.3514)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8A1F #8A1A85
analogous
#4D8A1A #1A8A1F #1A8A57
triadic
#1A8A1F #1F1A8A #8A1F1A
tetradic
#1A8A1F #1A4D8A #8A1A85 #8A571A
square
#1A8A1F #1A4D8A #8A1A85 #8A571A
split-complementary
#1A8A1F #571A8A #8A1A4D
monochromatic
#072308 #105713 #1A8A1F #24BD2B #43DC4A

Accessibility & contrast

On white

4.47
#1A8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1A8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1A8A1F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8A1F#FFFFFF#000000##000000
##1A8A1F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1a8a1f;
/* rgb */ color: rgb(26, 138, 31);
/* oklch */ color: oklch(55.3% 0.172 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dad63',
    500: '#1a8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #1a8a1f;
$custom-light: #6dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8a1f",
  "rgb": {
    "r": 26,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 122.679,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.17153,
    "h": 143.3
  },
  "luminance": 0.18495
}

Semantic roles & 50–950 ramp

primary
#1A8A1F
secondary
#BD43B7
accent
#3DE3EB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1A8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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