#1A7213#1A7213

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

Color values

HEX#1A7213
RGBrgb(26, 114, 19)
HSLhsl(116, 71%, 26%)
HSVhsv(116, 83%, 45%)
CMYKcmyk(77.2%, 0%, 83.3%, 55.3%)
CIE-LABlab(41.69, -43.56, 41.55)
CIE-LCHlch(41.69, 60.20, 136.36°)
OKLaboklab(48.31% -0.1186 0.0925)
OKLCHoklch(48.31% 0.15 142.1)
XYZxyz(6.5605, 12.3005, 2.6445)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7213 #6B1372
analogous
#497213 #1A7213 #13723B
triadic
#1A7213 #131A72 #72131A
tetradic
#1A7213 #134972 #6B1372 #723B13
square
#1A7213 #134972 #6B1372 #723B13
split-complementary
#1A7213 #3B1372 #721349
monochromatic
#061A04 #0E3E0A #1A7213 #26A61C #32DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7213#FFFFFF#000000##FFFFFF
##1A72131.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: #1a7213;
/* rgb */ color: rgb(26, 114, 19);
/* oklch */ color: oklch(48.3% 0.150 142.1);
Tailwind
colors: {
  custom: {
    50: '#679b5a',
    500: '#1a7213',
    950: '#000000',
  },
}
SCSS
$custom: #1a7213;
$custom-light: #679b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7213",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 115.579,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.15039,
    "h": 142.1
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#1A7213
secondary
#A038A9
accent
#3AEEE1
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7213

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

Preview Lab → · Contrast checker → · Palette generator →

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