#1A6F12#1A6F12

#1A6F12 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.147 H 141.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#1A6F12
RGBrgb(26, 111, 18)
HSLhsl(115, 72%, 25%)
HSVhsv(115, 84%, 44%)
CMYKcmyk(76.6%, 0%, 83.8%, 56.5%)
CIE-LABlab(40.62, -42.59, 40.86)
CIE-LCHlch(40.62, 59.02, 136.18°)
OKLaboklab(47.42% -0.116 0.0909)
OKLCHoklch(47.42% 0.147 141.9)
XYZxyz(6.2193, 11.6315, 2.4895)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6F12 #67126F
analogous
#486F12 #1A6F12 #126F39
triadic
#1A6F12 #121A6F #6F121A
tetradic
#1A6F12 #12486F #67126F #6F3912
square
#1A6F12 #12486F #67126F #6F3912
split-complementary
#1A6F12 #39126F #6F1248
monochromatic
#061A04 #0E3A09 #1A6F12 #26A41B #33D823

Accessibility & contrast

On white

6.31
#1A6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#1A6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6F12
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6F12#FFFFFF#000000##FFFFFF
##1A6F121.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1a6f12;
/* rgb */ color: rgb(26, 111, 18);
/* oklch */ color: oklch(47.4% 0.147 141.9);
Tailwind
colors: {
  custom: {
    50: '#669959',
    500: '#1a6f12',
    950: '#000000',
  },
}
SCSS
$custom: #1a6f12;
$custom-light: #669959;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6f12",
  "rgb": {
    "r": 26,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 114.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.14739,
    "h": 141.9
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#1A6F12
secondary
#9D37A6
accent
#39EFDF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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