#126D1D#126D1D

#126D1D is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.7% C 0.141 H 144.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#126D1D
RGBrgb(18, 109, 29)
HSLhsl(127, 72%, 25%)
HSVhsv(127, 83%, 43%)
CMYKcmyk(83.5%, 0%, 73.4%, 57.3%)
CIE-LABlab(39.84, -42.27, 35.85)
CIE-LCHlch(39.84, 55.43, 139.69°)
OKLaboklab(46.75% -0.1142 0.0821)
OKLCHoklch(46.75% 0.141 144.3)
XYZxyz(5.9395, 11.1539, 3.0020)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D1D #6D1262
analogous
#346D12 #126D1D #126D4B
triadic
#126D1D #1D126D #6D1D12
tetradic
#126D1D #12346D #6D1262 #6D4B12
square
#126D1D #12346D #6D1262 #6D4B12
split-complementary
#126D1D #4B126D #6D1234
monochromatic
#041A07 #09380F #126D1D #1BA22B #23D639

Accessibility & contrast

On white

6.50
#126D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#126D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D1D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D1D#FFFFFF#000000##FFFFFF
##126D1D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6211
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126d1d;
/* rgb */ color: rgb(18, 109, 29);
/* oklch */ color: oklch(46.7% 0.141 144.3);
Tailwind
colors: {
  custom: {
    50: '#63985e',
    500: '#126d1d',
    950: '#000000',
  },
}
SCSS
$custom: #126d1d;
$custom-light: #63985e;
$custom-dark: #000000;
JSON
{
  "hex": "#126d1d",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 127.253,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.14063,
    "h": 144.3
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#126D1D
secondary
#A43797
accent
#39D9EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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