#1A8231#1A8231

#1A8231 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.149 H 146.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1A8231
RGBrgb(26, 130, 49)
HSLhsl(133, 67%, 31%)
HSVhsv(133, 80%, 51%)
CMYKcmyk(80%, 0%, 62.3%, 49%)
CIE-LABlab(47.50, -46.14, 35.11)
CIE-LCHlch(47.50, 57.98, 142.73°)
OKLaboklab(53.21% -0.1242 0.0827)
OKLCHoklch(53.21% 0.149 146.3)
XYZxyz(8.9623, 16.4056, 5.5994)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8231 #821A6B
analogous
#37821A #1A8231 #1A8265
triadic
#1A8231 #311A82 #82311A
tetradic
#1A8231 #1A3782 #821A6B #82651A
square
#1A8231 #1A3782 #821A6B #82651A
split-complementary
#1A8231 #651A82 #821A37
monochromatic
#061C0B #104F1E #1A8231 #24B544 #3ED860

Accessibility & contrast

On white

4.90
#1A8231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1A8231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A8231
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A8231#FFFFFF#000000##FFFFFF
##1A82311.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#786E38
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1a8231;
/* rgb */ color: rgb(26, 130, 49);
/* oklch */ color: oklch(53.2% 0.149 146.3);
Tailwind
colors: {
  custom: {
    50: '#6aa76c',
    500: '#1a8231',
    950: '#000000',
  },
}
SCSS
$custom: #1a8231;
$custom-light: #6aa76c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8231",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 133.269,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.14923,
    "h": 146.3
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#1A8231
secondary
#B6429C
accent
#3EC4EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #1A8231

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

Preview Lab → · Contrast checker → · Palette generator →

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