#126412#126412

#126412 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.0% C 0.137 H 142.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#126412
RGBrgb(18, 100, 18)
HSLhsl(120, 69%, 23%)
HSVhsv(120, 82%, 39%)
CMYKcmyk(82%, 0%, 82%, 60.8%)
CIE-LABlab(36.53, -40.13, 36.89)
CIE-LCHlch(36.53, 54.51, 137.41°)
OKLaboklab(43.97% -0.1089 0.0827)
OKLCHoklch(43.97% 0.137 142.8)
XYZxyz(4.9155, 9.2860, 2.1055)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126412 #641264
analogous
#3B6412 #126412 #12643B
triadic
#126412 #121264 #641212
tetradic
#126412 #123B64 #641264 #643B12
square
#126412 #123B64 #641264 #643B12
split-complementary
#126412 #3B1264 #64123B
monochromatic
#051A05 #093009 #126412 #1B981B #25CC25

Accessibility & contrast

On white

7.35
#126412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126412
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126412#FFFFFF#000000##FFFFFF
##1264121.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5D541B
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126412;
/* rgb */ color: rgb(18, 100, 18);
/* oklch */ color: oklch(44.0% 0.137 142.8);
Tailwind
colors: {
  custom: {
    50: '#619157',
    500: '#126412',
    950: '#000000',
  },
}
SCSS
$custom: #126412;
$custom-light: #619157;
$custom-dark: #000000;
JSON
{
  "hex": "#126412",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.13676,
    "h": 142.8
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#126412
secondary
#9C369C
accent
#3BECEC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78

Preview Lab

Preview with #126412

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

Preview Lab → · Contrast checker → · Palette generator →

#126412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva