#1A7231#1A7231

#1A7231 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.128 H 147.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#1A7231
RGBrgb(26, 114, 49)
HSLhsl(136, 63%, 27%)
HSVhsv(136, 77%, 45%)
CMYKcmyk(77.2%, 0%, 57%, 55.3%)
CIE-LABlab(41.96, -40.28, 28.58)
CIE-LCHlch(41.96, 49.39, 144.64°)
OKLaboklab(48.62% -0.1084 0.0685)
OKLCHoklch(48.62% 0.128 147.7)
XYZxyz(6.9972, 12.4752, 4.9443)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7231 #721A5B
analogous
#2F721A #1A7231 #1A725D
triadic
#1A7231 #311A72 #72311A
tetradic
#1A7231 #1A2F72 #721A5B #725D1A
square
#1A7231 #1A2F72 #721A5B #725D1A
split-complementary
#1A7231 #5D1A72 #721A2F
monochromatic
#06190B #0F401C #1A7231 #25A446 #35D15E

Accessibility & contrast

On white

6.01
#1A7231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1A7231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7231
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7231#FFFFFF#000000##FFFFFF
##1A72311.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7231;
/* rgb */ color: rgb(26, 114, 49);
/* oklch */ color: oklch(48.6% 0.128 147.7);
Tailwind
colors: {
  custom: {
    50: '#669b6b',
    500: '#1a7231',
    950: '#000000',
  },
}
SCSS
$custom: #1a7231;
$custom-light: #669b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7231",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 135.682,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.1282,
    "h": 147.7
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#1A7231
secondary
#A7418C
accent
#42BBE6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #1A7231

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

Preview Lab → · Contrast checker → · Palette generator →

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