#126E1F#126E1F

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

Color values

HEX#126E1F
RGBrgb(18, 110, 31)
HSLhsl(128, 72%, 25%)
HSVhsv(128, 84%, 43%)
CMYKcmyk(83.6%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.21, -42.41, 35.37)
CIE-LCHlch(40.21, 55.22, 140.17°)
OKLaboklab(47.06% -0.1145 0.0813)
OKLCHoklch(47.06% 0.14 144.6)
XYZxyz(6.0723, 11.3787, 3.1723)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E1F #6E1261
analogous
#336E12 #126E1F #126E4D
triadic
#126E1F #1F126E #6E1F12
tetradic
#126E1F #12336E #6E1261 #6E4D12
square
#126E1F #12336E #6E1261 #6E4D12
split-complementary
#126E1F #4D126E #6E1233
monochromatic
#041A07 #093910 #126E1F #1BA32E #23D73D

Accessibility & contrast

On white

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

On black

3.28
#126E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126E1F#FFFFFF#000000##FFFFFF
##126E1F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126e1f;
/* rgb */ color: rgb(18, 110, 31);
/* oklch */ color: oklch(47.1% 0.140 144.6);
Tailwind
colors: {
  custom: {
    50: '#63995f',
    500: '#126e1f',
    950: '#000000',
  },
}
SCSS
$custom: #126e1f;
$custom-light: #63995f;
$custom-dark: #000000;
JSON
{
  "hex": "#126e1f",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 128.478,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.14044,
    "h": 144.6
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#126E1F
secondary
#A53796
accent
#39D5EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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