#126E2C#126E2C

#126E2C is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.2% C 0.130 H 147.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#126E2C
RGBrgb(18, 110, 44)
HSLhsl(137, 72%, 25%)
HSVhsv(137, 84%, 43%)
CMYKcmyk(83.6%, 0%, 60%, 56.9%)
CIE-LABlab(40.35, -40.74, 29.23)
CIE-LCHlch(40.35, 50.15, 144.34°)
OKLaboklab(47.22% -0.1095 0.0695)
OKLCHoklch(47.22% 0.13 147.6)
XYZxyz(6.2795, 11.4615, 4.2637)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E2C #6E1254
analogous
#266E12 #126E2C #126E5A
triadic
#126E2C #2C126E #6E2C12
tetradic
#126E2C #12266E #6E1254 #6E5A12
square
#126E2C #12266E #6E1254 #6E5A12
split-complementary
#126E2C #5A126E #6E1226
monochromatic
#041A0B #093917 #126E2C #1BA341 #23D756

Accessibility & contrast

On white

6.38
#126E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#126E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E2C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E2C#FFFFFF#000000##FFFFFF
##126E2C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6326
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e2c;
/* rgb */ color: rgb(18, 110, 44);
/* oklch */ color: oklch(47.2% 0.130 147.6);
Tailwind
colors: {
  custom: {
    50: '#629967',
    500: '#126e2c',
    950: '#000000',
  },
}
SCSS
$custom: #126e2c;
$custom-light: #629967;
$custom-dark: #000000;
JSON
{
  "hex": "#126e2c",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 44
  },
  "hsl": {
    "h": 136.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.12972,
    "h": 147.6
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#126E2C
secondary
#A53786
accent
#39BBEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #126E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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