#126E20#126E20

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

Color values

HEX#126E20
RGBrgb(18, 110, 32)
HSLhsl(129, 72%, 25%)
HSVhsv(129, 84%, 43%)
CMYKcmyk(83.6%, 0%, 70.9%, 56.9%)
CIE-LABlab(40.22, -42.30, 34.94)
CIE-LCHlch(40.22, 54.86, 140.44°)
OKLaboklab(47.07% -0.1141 0.0805)
OKLCHoklch(47.07% 0.14 144.8)
XYZxyz(6.0857, 11.3840, 3.2428)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E20 #6E1260
analogous
#326E12 #126E20 #126E4E
triadic
#126E20 #20126E #6E2012
tetradic
#126E20 #12326E #6E1260 #6E4E12
square
#126E20 #12326E #6E1260 #6E4E12
split-complementary
#126E20 #4E126E #6E1232
monochromatic
#041A08 #093911 #126E20 #1BA32F #23D73F

Accessibility & contrast

On white

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

On black

3.28
#126E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126E20#FFFFFF#000000##FFFFFF
##126E201.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706315
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e20;
/* rgb */ color: rgb(18, 110, 32);
/* oklch */ color: oklch(47.1% 0.140 144.8);
Tailwind
colors: {
  custom: {
    50: '#639960',
    500: '#126e20',
    950: '#000000',
  },
}
SCSS
$custom: #126e20;
$custom-light: #639960;
$custom-dark: #000000;
JSON
{
  "hex": "#126e20",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 129.13,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47074,
    "c": 0.1397,
    "h": 144.8
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#126E20
secondary
#A53794
accent
#39D3EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126E20

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

Preview Lab → · Contrast checker → · Palette generator →

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