#1A7C38#1A7C38

#1A7C38 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.135 H 148.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1A7C38
RGBrgb(26, 124, 56)
HSLhsl(138, 65%, 29%)
HSVhsv(138, 79%, 49%)
CMYKcmyk(79%, 0%, 54.8%, 51.4%)
CIE-LABlab(45.52, -42.94, 29.21)
CIE-LCHlch(45.52, 51.94, 145.78°)
OKLaboklab(51.6% -0.1154 0.0703)
OKLCHoklch(51.6% 0.135 148.7)
XYZxyz(8.3468, 14.9195, 6.1805)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C38 #7C1A5E
analogous
#2D7C1A #1A7C38 #1A7C69
triadic
#1A7C38 #381A7C #7C381A
tetradic
#1A7C38 #1A2D7C #7C1A5E #7C691A
square
#1A7C38 #1A2D7C #7C1A5E #7C691A
split-complementary
#1A7C38 #691A7C #7C1A2D
monochromatic
#05190B #0F4921 #1A7C38 #25AF4F #3BD66A

Accessibility & contrast

On white

5.27
#1A7C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1A7C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C38
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C38#FFFFFF#000000##FFFFFF
##1A7C381.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7132
Deuteranopia (green-blind)
#72693D
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7c38;
/* rgb */ color: rgb(26, 124, 56);
/* oklch */ color: oklch(51.6% 0.135 148.7);
Tailwind
colors: {
  custom: {
    50: '#68a370',
    500: '#1a7c38',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c38;
$custom-light: #68a370;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c38",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 138.367,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.13516,
    "h": 148.7
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#1A7C38
secondary
#B0428E
accent
#40B5E8
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7C38

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

Preview Lab → · Contrast checker → · Palette generator →

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