#1A6727#1A6727

#1A6727 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.122 H 145.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1A6727
RGBrgb(26, 103, 39)
HSLhsl(130, 60%, 25%)
HSVhsv(130, 75%, 40%)
CMYKcmyk(74.8%, 0%, 62.1%, 59.6%)
CIE-LABlab(37.96, -37.54, 29.06)
CIE-LCHlch(37.96, 47.47, 142.26°)
OKLaboklab(45.27% -0.1013 0.0687)
OKLCHoklch(45.27% 0.122 145.9)
XYZxyz(5.6421, 10.0660, 3.5646)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6727 #671A5A
analogous
#33671A #1A6727 #1A674D
triadic
#1A6727 #271A67 #67271A
tetradic
#1A6727 #1A3367 #671A5A #674D1A
square
#1A6727 #1A3367 #671A5A #674D1A
split-complementary
#1A6727 #4D1A67 #671A33
monochromatic
#061809 #0E3614 #1A6727 #26983A #33C94C

Accessibility & contrast

On white

6.97
#1A6727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1A6727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6727
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6727#FFFFFF#000000##FFFFFF
##1A67271.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D20
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1a6727;
/* rgb */ color: rgb(26, 103, 39);
/* oklch */ color: oklch(45.3% 0.122 145.9);
Tailwind
colors: {
  custom: {
    50: '#639363',
    500: '#1a6727',
    950: '#000000',
  },
}
SCSS
$custom: #1a6727;
$custom-light: #639363;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6727",
  "rgb": {
    "r": 26,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 130.13,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.12241,
    "h": 145.9
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#1A6727
secondary
#9D408D
accent
#45C8E3
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #1A6727

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

Preview Lab → · Contrast checker → · Palette generator →

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