#126E1E#126E1E

#126E1E is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.141 H 144.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#126E1E
RGBrgb(18, 110, 30)
HSLhsl(128, 72%, 25%)
HSVhsv(128, 84%, 43%)
CMYKcmyk(83.6%, 0%, 72.7%, 56.9%)
CIE-LABlab(40.20, -42.51, 35.80)
CIE-LCHlch(40.20, 55.58, 139.90°)
OKLaboklab(47.05% -0.1148 0.0821)
OKLCHoklch(47.05% 0.141 144.4)
XYZxyz(6.0593, 11.3735, 3.1040)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E1E #6E1262
analogous
#346E12 #126E1E #126E4C
triadic
#126E1E #1E126E #6E1E12
tetradic
#126E1E #12346E #6E1262 #6E4C12
square
#126E1E #12346E #6E1262 #6E4C12
split-complementary
#126E1E #4C126E #6E1234
monochromatic
#041A07 #093910 #126E1E #1BA32C #23D73B

Accessibility & contrast

On white

6.41
#126E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E1E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E1E#FFFFFF#000000##FFFFFF
##126E1E1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706312
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e1e;
/* rgb */ color: rgb(18, 110, 30);
/* oklch */ color: oklch(47.1% 0.141 144.4);
Tailwind
colors: {
  custom: {
    50: '#63995f',
    500: '#126e1e',
    950: '#000000',
  },
}
SCSS
$custom: #126e1e;
$custom-light: #63995f;
$custom-dark: #000000;
JSON
{
  "hex": "#126e1e",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 30
  },
  "hsl": {
    "h": 127.826,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.14115,
    "h": 144.4
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #126E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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