#1A6728#1A6728

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

Color values

HEX#1A6728
RGBrgb(26, 103, 40)
HSLhsl(131, 60%, 25%)
HSVhsv(131, 75%, 40%)
CMYKcmyk(74.8%, 0%, 61.2%, 59.6%)
CIE-LABlab(37.97, -37.40, 28.55)
CIE-LCHlch(37.97, 47.05, 142.64°)
OKLaboklab(45.28% -0.1009 0.0677)
OKLCHoklch(45.28% 0.121 146.1)
XYZxyz(5.6589, 10.0727, 3.6531)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6728 #671A59
analogous
#32671A #1A6728 #1A674E
triadic
#1A6728 #281A67 #67281A
tetradic
#1A6728 #1A3267 #671A59 #674E1A
square
#1A6728 #1A3267 #671A59 #674E1A
split-complementary
#1A6728 #4E1A67 #671A32
monochromatic
#061809 #0E3615 #1A6728 #26983B #33C94E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A6728#FFFFFF#000000##FFFFFF
##1A67281.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)
#695D22
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1a6728;
/* rgb */ color: rgb(26, 103, 40);
/* oklch */ color: oklch(45.3% 0.121 146.1);
Tailwind
colors: {
  custom: {
    50: '#639364',
    500: '#1a6728',
    950: '#000000',
  },
}
SCSS
$custom: #1a6728;
$custom-light: #639364;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6728",
  "rgb": {
    "r": 26,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 130.909,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.12149,
    "h": 146.1
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#1A6728
secondary
#9D408C
accent
#45C6E3
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #1A6728

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

Preview Lab → · Contrast checker → · Palette generator →

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