#126D22#126D22

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

Color values

HEX#126D22
RGBrgb(18, 109, 34)
HSLhsl(131, 72%, 25%)
HSVhsv(131, 83%, 43%)
CMYKcmyk(83.5%, 0%, 68.8%, 57.3%)
CIE-LABlab(39.88, -41.72, 33.65)
CIE-LCHlch(39.88, 53.60, 141.11°)
OKLaboklab(46.8% -0.1125 0.0781)
OKLCHoklch(46.8% 0.137 145.2)
XYZxyz(6.0064, 11.1806, 3.3546)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D22 #6D125D
analogous
#306D12 #126D22 #126D4F
triadic
#126D22 #22126D #6D2212
tetradic
#126D22 #12306D #6D125D #6D4F12
square
#126D22 #12306D #6D125D #6D4F12
split-complementary
#126D22 #4F126D #6D1230
monochromatic
#041A08 #093812 #126D22 #1BA232 #23D643

Accessibility & contrast

On white

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

On black

3.24
#126D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126D22#FFFFFF#000000##FFFFFF
##126D221.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126d22;
/* rgb */ color: rgb(18, 109, 34);
/* oklch */ color: oklch(46.8% 0.137 145.2);
Tailwind
colors: {
  custom: {
    50: '#639861',
    500: '#126d22',
    950: '#000000',
  },
}
SCSS
$custom: #126d22;
$custom-light: #639861;
$custom-dark: #000000;
JSON
{
  "hex": "#126d22",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 130.549,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.468,
    "c": 0.13691,
    "h": 145.2
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#126D22
secondary
#A43791
accent
#39CFEE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126D22

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

Preview Lab → · Contrast checker → · Palette generator →

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