#1A7F37#1A7F37

#1A7F37 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.140 H 148.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1A7F37
RGBrgb(26, 127, 55)
HSLhsl(137, 66%, 30%)
HSVhsv(137, 80%, 50%)
CMYKcmyk(79.5%, 0%, 56.7%, 50.2%)
CIE-LABlab(46.54, -44.21, 30.97)
CIE-LCHlch(46.54, 53.98, 144.99°)
OKLaboklab(52.44% -0.1188 0.0741)
OKLCHoklch(52.44% 0.14 148)
XYZxyz(8.7043, 15.6732, 6.1802)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F37 #7F1A62
analogous
#2F7F1A #1A7F37 #1A7F6A
triadic
#1A7F37 #371A7F #7F371A
tetradic
#1A7F37 #1A2F7F #7F1A62 #7F6A1A
square
#1A7F37 #1A2F7F #7F1A62 #7F6A1A
split-complementary
#1A7F37 #6A1A7F #7F1A2F
monochromatic
#05190B #104C21 #1A7F37 #24B24D #3CD769

Accessibility & contrast

On white

5.08
#1A7F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1A7F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F37
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F37#FFFFFF#000000##FFFFFF
##1A7F371.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f37;
/* rgb */ color: rgb(26, 127, 55);
/* oklch */ color: oklch(52.4% 0.140 148.0);
Tailwind
colors: {
  custom: {
    50: '#69a570',
    500: '#1a7f37',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f37;
$custom-light: #69a570;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f37",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 137.228,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52441,
    "c": 0.14008,
    "h": 148
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#1A7F37
secondary
#B34292
accent
#3FB8E9
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7F37

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

Preview Lab → · Contrast checker → · Palette generator →

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