#126F3C#126F3C

#126F3C is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.116 H 153.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#126F3C
RGBrgb(18, 111, 60)
HSLhsl(147, 72%, 25%)
HSVhsv(147, 84%, 44%)
CMYKcmyk(83.8%, 0%, 45.9%, 56.5%)
CIE-LABlab(40.93, -38.36, 21.22)
CIE-LCHlch(40.93, 43.83, 151.05°)
OKLaboklab(47.78% -0.1031 0.0524)
OKLCHoklch(47.78% 0.116 153.1)
XYZxyz(6.7489, 11.8229, 6.2004)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F3C #6F1245
analogous
#166F12 #126F3C #126F6A
triadic
#126F3C #3C126F #6F3C12
tetradic
#126F3C #12166F #6F1245 #6F6A12
square
#126F3C #12166F #6F1245 #6F6A12
split-complementary
#126F3C #6A126F #6F1216
monochromatic
#041A0E #093A20 #126F3C #1BA458 #23D875

Accessibility & contrast

On white

6.24
#126F3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#126F3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F3C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F3C#FFFFFF#000000##FFFFFF
##126F3C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6538
Deuteranopia (green-blind)
#645E40
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f3c;
/* rgb */ color: rgb(18, 111, 60);
/* oklch */ color: oklch(47.8% 0.116 153.1);
Tailwind
colors: {
  custom: {
    50: '#629972',
    500: '#126f3c',
    950: '#000000',
  },
}
SCSS
$custom: #126f3c;
$custom-light: #629972;
$custom-dark: #000000;
JSON
{
  "hex": "#126f3c",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 60
  },
  "hsl": {
    "h": 147.097,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.11562,
    "h": 153.1
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#126F3C
secondary
#A63774
accent
#399DEF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #126F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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