#126D20#126D20

#126D20 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.138 H 144.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#126D20
RGBrgb(18, 109, 32)
HSLhsl(129, 72%, 25%)
HSVhsv(129, 83%, 43%)
CMYKcmyk(83.5%, 0%, 70.6%, 57.3%)
CIE-LABlab(39.86, -41.95, 34.55)
CIE-LCHlch(39.86, 54.35, 140.52°)
OKLaboklab(46.78% -0.1132 0.0797)
OKLCHoklch(46.78% 0.138 144.8)
XYZxyz(5.9784, 11.1694, 3.2071)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D20 #6D125F
analogous
#316D12 #126D20 #126D4E
triadic
#126D20 #20126D #6D2012
tetradic
#126D20 #12316D #6D125F #6D4E12
square
#126D20 #12316D #6D125F #6D4E12
split-complementary
#126D20 #4E126D #6D1231
monochromatic
#041A08 #093811 #126D20 #1BA22F #23D63F

Accessibility & contrast

On white

6.49
#126D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126D20
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D20#FFFFFF#000000##FFFFFF
##126D201.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126d20;
/* rgb */ color: rgb(18, 109, 32);
/* oklch */ color: oklch(46.8% 0.138 144.8);
Tailwind
colors: {
  custom: {
    50: '#639860',
    500: '#126d20',
    950: '#000000',
  },
}
SCSS
$custom: #126d20;
$custom-light: #639860;
$custom-dark: #000000;
JSON
{
  "hex": "#126d20",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 129.231,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.13845,
    "h": 144.8
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#126D20
secondary
#A43793
accent
#39D3EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126D20

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

Preview Lab → · Contrast checker → · Palette generator →

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