#126C15#126C15

#126C15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.145 H 143.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#126C15
RGBrgb(18, 108, 21)
HSLhsl(122, 71%, 25%)
HSVhsv(122, 83%, 42%)
CMYKcmyk(83.3%, 0%, 80.6%, 57.6%)
CIE-LABlab(39.42, -42.65, 38.62)
CIE-LCHlch(39.42, 57.54, 137.83°)
OKLaboklab(46.39% -0.1156 0.0867)
OKLCHoklch(46.39% 0.145 143.1)
XYZxyz(5.7470, 10.9072, 2.5117)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C15 #6C1269
analogous
#3C6C12 #126C15 #126C42
triadic
#126C15 #15126C #6C1512
tetradic
#126C15 #123C6C #6C1269 #6C4212
square
#126C15 #123C6C #6C1269 #6C4212
split-complementary
#126C15 #42126C #6C123C
monochromatic
#041A05 #09380B #126C15 #1BA01F #23D529

Accessibility & contrast

On white

6.60
#126C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#126C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C15
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C15#FFFFFF#000000##FFFFFF
##126C151.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126c15;
/* rgb */ color: rgb(18, 108, 21);
/* oklch */ color: oklch(46.4% 0.145 143.1);
Tailwind
colors: {
  custom: {
    50: '#63975a',
    500: '#126c15',
    950: '#000000',
  },
}
SCSS
$custom: #126c15;
$custom-light: #63975a;
$custom-dark: #000000;
JSON
{
  "hex": "#126c15",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 122,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.14454,
    "h": 143.1
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#126C15
secondary
#A336A0
accent
#3AE8EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C15

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

Preview Lab → · Contrast checker → · Palette generator →

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