#126E1D#126E1D

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

Color values

HEX#126E1D
RGBrgb(18, 110, 29)
HSLhsl(127, 72%, 25%)
HSVhsv(127, 84%, 43%)
CMYKcmyk(83.6%, 0%, 73.6%, 56.9%)
CIE-LABlab(40.19, -42.61, 36.23)
CIE-LCHlch(40.19, 55.93, 139.63°)
OKLaboklab(47.04% -0.1151 0.0829)
OKLCHoklch(47.04% 0.142 144.3)
XYZxyz(6.0467, 11.3684, 3.0378)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E1D #6E1263
analogous
#356E12 #126E1D #126E4B
triadic
#126E1D #1D126E #6E1D12
tetradic
#126E1D #12356E #6E1263 #6E4B12
square
#126E1D #12356E #6E1263 #6E4B12
split-complementary
#126E1D #4B126E #6E1235
monochromatic
#041A07 #09390F #126E1D #1BA32B #23D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126E1D#FFFFFF#000000##FFFFFF
##126E1D1.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)
#706311
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e1d;
/* rgb */ color: rgb(18, 110, 29);
/* oklch */ color: oklch(47.0% 0.142 144.3);
Tailwind
colors: {
  custom: {
    50: '#63995e',
    500: '#126e1d',
    950: '#000000',
  },
}
SCSS
$custom: #126e1d;
$custom-light: #63995e;
$custom-dark: #000000;
JSON
{
  "hex": "#126e1d",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 127.174,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.14186,
    "h": 144.3
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#126E1D
secondary
#A53798
accent
#39D9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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