#1A7214#1A7214

#1A7214 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.150 H 142.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#1A7214
RGBrgb(26, 114, 20)
HSLhsl(116, 70%, 26%)
HSVhsv(116, 82%, 45%)
CMYKcmyk(77.2%, 0%, 82.5%, 55.3%)
CIE-LABlab(41.70, -43.49, 41.22)
CIE-LCHlch(41.70, 59.92, 136.54°)
OKLaboklab(48.31% -0.1184 0.092)
OKLCHoklch(48.31% 0.15 142.2)
XYZxyz(6.5692, 12.3040, 2.6904)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7214 #6C1472
analogous
#497214 #1A7214 #14723D
triadic
#1A7214 #141A72 #72141A
tetradic
#1A7214 #144972 #6C1472 #723D14
square
#1A7214 #144972 #6C1472 #723D14
split-complementary
#1A7214 #3D1472 #721449
monochromatic
#061A05 #0E3E0B #1A7214 #26A61D #33D927

Accessibility & contrast

On white

6.07
#1A7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#1A7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7214
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7214#FFFFFF#000000##FFFFFF
##1A72141.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1a7214;
/* rgb */ color: rgb(26, 114, 20);
/* oklch */ color: oklch(48.3% 0.150 142.2);
Tailwind
colors: {
  custom: {
    50: '#679b5a',
    500: '#1a7214',
    950: '#000000',
  },
}
SCSS
$custom: #1a7214;
$custom-light: #679b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7214",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 116.17,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48314,
    "c": 0.14989,
    "h": 142.2
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#1A7214
secondary
#A139A8
accent
#3BEDE2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7214

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

Preview Lab → · Contrast checker → · Palette generator →

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