#126C1C#126C1C

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

Color values

HEX#126C1C
RGBrgb(18, 108, 28)
HSLhsl(127, 71%, 25%)
HSVhsv(127, 83%, 42%)
CMYKcmyk(83.3%, 0%, 74.1%, 57.6%)
CIE-LABlab(39.47, -42.02, 35.90)
CIE-LCHlch(39.47, 55.27, 139.49°)
OKLaboklab(46.44% -0.1136 0.082)
OKLCHoklch(46.44% 0.14 144.2)
XYZxyz(5.8212, 10.9369, 2.9026)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126C1C #6C1262
analogous
#356C12 #126C1C #126C49
triadic
#126C1C #1C126C #6C1C12
tetradic
#126C1C #12356C #6C1262 #6C4912
square
#126C1C #12356C #6C1262 #6C4912
split-complementary
#126C1C #49126C #6C1235
monochromatic
#041A07 #09380E #126C1C #1BA02A #23D537

Accessibility & contrast

On white

6.59
#126C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#126C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126C1C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126C1C#FFFFFF#000000##FFFFFF
##126C1C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6110
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #126c1c;
/* rgb */ color: rgb(18, 108, 28);
/* oklch */ color: oklch(46.4% 0.140 144.2);
Tailwind
colors: {
  custom: {
    50: '#63975d',
    500: '#126c1c',
    950: '#000000',
  },
}
SCSS
$custom: #126c1c;
$custom-light: #63975d;
$custom-dark: #000000;
JSON
{
  "hex": "#126c1c",
  "rgb": {
    "r": 18,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 126.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.14011,
    "h": 144.2
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#126C1C
secondary
#A33697
accent
#3ADAEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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