#126D25#126D25

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

Color values

HEX#126D25
RGBrgb(18, 109, 37)
HSLhsl(133, 72%, 25%)
HSVhsv(133, 83%, 43%)
CMYKcmyk(83.5%, 0%, 66.1%, 57.3%)
CIE-LABlab(39.91, -41.35, 32.26)
CIE-LCHlch(39.91, 52.44, 142.04°)
OKLaboklab(46.84% -0.1114 0.0754)
OKLCHoklch(46.84% 0.134 145.9)
XYZxyz(6.0516, 11.1987, 3.5925)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D25 #6D125A
analogous
#2D6D12 #126D25 #126D52
triadic
#126D25 #25126D #6D2512
tetradic
#126D25 #122D6D #6D125A #6D5212
square
#126D25 #122D6D #6D125A #6D5212
split-complementary
#126D25 #52126D #6D122D
monochromatic
#041A09 #093813 #126D25 #1BA237 #23D649

Accessibility & contrast

On white

6.48
#126D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126D25
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D25#FFFFFF#000000##FFFFFF
##126D251.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621D
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126d25;
/* rgb */ color: rgb(18, 109, 37);
/* oklch */ color: oklch(46.8% 0.134 145.9);
Tailwind
colors: {
  custom: {
    50: '#629863',
    500: '#126d25',
    950: '#000000',
  },
}
SCSS
$custom: #126d25;
$custom-light: #629863;
$custom-dark: #000000;
JSON
{
  "hex": "#126d25",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 37
  },
  "hsl": {
    "h": 132.527,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.13449,
    "h": 145.9
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#126D25
secondary
#A4378D
accent
#39C9EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #126D25

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

Preview Lab → · Contrast checker → · Palette generator →

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