#126F11#126F11

#126F11 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.2% C 0.150 H 142.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#126F11
RGBrgb(18, 111, 17)
HSLhsl(119, 73%, 25%)
HSVhsv(119, 85%, 44%)
CMYKcmyk(83.8%, 0%, 84.7%, 56.5%)
CIE-LABlab(40.47, -43.94, 40.98)
CIE-LCHlch(40.47, 60.09, 136.99°)
OKLaboklab(47.25% -0.1193 0.0911)
OKLCHoklch(47.25% 0.15 142.6)
XYZxyz(6.0347, 11.5372, 2.4391)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F11 #6E116F
analogous
#416F11 #126F11 #116F3F
triadic
#126F11 #11126F #6F1112
tetradic
#126F11 #11416F #6E116F #6F3F11
square
#126F11 #11416F #6E116F #6F3F11
split-complementary
#126F11 #3F116F #6F1141
monochromatic
#041B04 #093A09 #126F11 #1BA419 #23D921

Accessibility & contrast

On white

6.35
#126F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#126F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F11
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F11#FFFFFF#000000##FFFFFF
##126F111.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126f11;
/* rgb */ color: rgb(18, 111, 17);
/* oklch */ color: oklch(47.2% 0.150 142.6);
Tailwind
colors: {
  custom: {
    50: '#649958',
    500: '#126f11',
    950: '#000000',
  },
}
SCSS
$custom: #126f11;
$custom-light: #649958;
$custom-dark: #000000;
JSON
{
  "hex": "#126f11",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 119.362,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47249,
    "c": 0.1501,
    "h": 142.6
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#126F11
secondary
#A535A6
accent
#38F0EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F11

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

Preview Lab → · Contrast checker → · Palette generator →

#126F11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva