#126F1E#126F1E

#126F1E is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.142 H 144.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#126F1E
RGBrgb(18, 111, 30)
HSLhsl(128, 72%, 25%)
HSVhsv(128, 84%, 44%)
CMYKcmyk(83.8%, 0%, 73%, 56.5%)
CIE-LABlab(40.56, -42.86, 36.18)
CIE-LCHlch(40.56, 56.09, 139.83°)
OKLaboklab(47.35% -0.1158 0.0829)
OKLCHoklch(47.35% 0.142 144.4)
XYZxyz(6.1678, 11.5905, 3.1402)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F1E #6F1263
analogous
#346F12 #126F1E #126F4C
triadic
#126F1E #1E126F #6F1E12
tetradic
#126F1E #12346F #6F1263 #6F4C12
square
#126F1E #12346F #6F1263 #6F4C12
split-complementary
#126F1E #4C126F #6F1234
monochromatic
#041A07 #093A10 #126F1E #1BA42C #23D83A

Accessibility & contrast

On white

6.33
#126F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#126F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F1E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F1E#FFFFFF#000000##FFFFFF
##126F1E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716412
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f1e;
/* rgb */ color: rgb(18, 111, 30);
/* oklch */ color: oklch(47.3% 0.142 144.4);
Tailwind
colors: {
  custom: {
    50: '#63995f',
    500: '#126f1e',
    950: '#000000',
  },
}
SCSS
$custom: #126f1e;
$custom-light: #63995f;
$custom-dark: #000000;
JSON
{
  "hex": "#126f1e",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 127.742,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.14238,
    "h": 144.4
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#126F1E
secondary
#A63798
accent
#39D7EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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