#126F2C#126F2C

#126F2C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.131 H 147.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#126F2C
RGBrgb(18, 111, 44)
HSLhsl(137, 72%, 25%)
HSVhsv(137, 84%, 44%)
CMYKcmyk(83.8%, 0%, 60.4%, 56.5%)
CIE-LABlab(40.70, -41.11, 29.65)
CIE-LCHlch(40.70, 50.69, 144.20°)
OKLaboklab(47.51% -0.1105 0.0705)
OKLCHoklch(47.51% 0.131 147.5)
XYZxyz(6.3880, 11.6785, 4.2999)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F2C #6F1255
analogous
#276F12 #126F2C #126F5A
triadic
#126F2C #2C126F #6F2C12
tetradic
#126F2C #12276F #6F1255 #6F5A12
square
#126F2C #12276F #6F1255 #6F5A12
split-complementary
#126F2C #5A126F #6F1227
monochromatic
#041A0A #093A17 #126F2C #1BA441 #23D856

Accessibility & contrast

On white

6.30
#126F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#126F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F2C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F2C#FFFFFF#000000##FFFFFF
##126F2C1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706425
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f2c;
/* rgb */ color: rgb(18, 111, 44);
/* oklch */ color: oklch(47.5% 0.131 147.5);
Tailwind
colors: {
  custom: {
    50: '#639967',
    500: '#126f2c',
    950: '#000000',
  },
}
SCSS
$custom: #126f2c;
$custom-light: #639967;
$custom-dark: #000000;
JSON
{
  "hex": "#126f2c",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 136.774,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.13104,
    "h": 147.5
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#126F2C
secondary
#A63787
accent
#39BCEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #126F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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