#1A7239#1A7239

#1A7239 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.120 H 150.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1A7239
RGBrgb(26, 114, 57)
HSLhsl(141, 63%, 27%)
HSVhsv(141, 77%, 45%)
CMYKcmyk(77.2%, 0%, 50%, 55.3%)
CIE-LABlab(42.08, -38.95, 24.39)
CIE-LCHlch(42.08, 45.95, 147.95°)
OKLaboklab(48.75% -0.1047 0.0595)
OKLCHoklch(48.75% 0.12 150.4)
XYZxyz(7.1812, 12.5488, 5.9138)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7239 #721A53
analogous
#27721A #1A7239 #1A7265
triadic
#1A7239 #391A72 #72391A
tetradic
#1A7239 #1A2772 #721A53 #72651A
square
#1A7239 #1A2772 #721A53 #72651A
split-complementary
#1A7239 #651A72 #721A27
monochromatic
#06190C #0F4020 #1A7239 #25A452 #35D16C

Accessibility & contrast

On white

5.98
#1A7239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1A7239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7239
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7239#FFFFFF#000000##FFFFFF
##1A72391.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7239;
/* rgb */ color: rgb(26, 114, 57);
/* oklch */ color: oklch(48.8% 0.120 150.4);
Tailwind
colors: {
  custom: {
    50: '#659b70',
    500: '#1a7239',
    950: '#000000',
  },
}
SCSS
$custom: #1a7239;
$custom-light: #659b70;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7239",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 141.136,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.12048,
    "h": 150.4
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#1A7239
secondary
#A74183
accent
#42ACE6
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #1A7239

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

Preview Lab → · Contrast checker → · Palette generator →

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