#1A7311#1A7311

#1A7311 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.152 H 141.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1A7311
RGBrgb(26, 115, 17)
HSLhsl(114, 74%, 26%)
HSVhsv(114, 85%, 45%)
CMYKcmyk(77.4%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.03, -44.03, 42.49)
CIE-LCHlch(42.03, 61.19, 136.02°)
OKLaboklab(48.59% -0.1199 0.0942)
OKLCHoklch(48.59% 0.152 141.9)
XYZxyz(6.6575, 12.5208, 2.5961)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7311 #6A1173
analogous
#4B7311 #1A7311 #117339
triadic
#1A7311 #111A73 #73111A
tetradic
#1A7311 #114B73 #6A1173 #733911
square
#1A7311 #114B73 #6A1173 #733911
split-complementary
#1A7311 #391173 #73114B
monochromatic
#061B04 #0E3E09 #1A7311 #26A819 #32DE21

Accessibility & contrast

On white

5.99
#1A7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1A7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7311
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7311#FFFFFF#000000##FFFFFF
##1A73111.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#006F61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7311;
/* rgb */ color: rgb(26, 115, 17);
/* oklch */ color: oklch(48.6% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#679c59',
    500: '#1a7311',
    950: '#000000',
  },
}
SCSS
$custom: #1a7311;
$custom-light: #679c59;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7311",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 114.49,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.15249,
    "h": 141.9
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#1A7311
secondary
#9F36AA
accent
#37F1E0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7311

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

Preview Lab → · Contrast checker → · Palette generator →

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