#126F3B#126F3B

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

Color values

HEX#126F3B
RGBrgb(18, 111, 59)
HSLhsl(146, 72%, 25%)
HSVhsv(146, 84%, 44%)
CMYKcmyk(83.8%, 0%, 46.8%, 56.5%)
CIE-LABlab(40.92, -38.55, 21.76)
CIE-LCHlch(40.92, 44.27, 150.56°)
OKLaboklab(47.76% -0.1036 0.0536)
OKLCHoklch(47.76% 0.117 152.6)
XYZxyz(6.7227, 11.8124, 6.0625)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F3B #6F1246
analogous
#176F12 #126F3B #126F6A
triadic
#126F3B #3B126F #6F3B12
tetradic
#126F3B #12176F #6F1246 #6F6A12
square
#126F3B #12176F #6F1246 #6F6A12
split-complementary
#126F3B #6A126F #6F1217
monochromatic
#041A0E #093A1F #126F3B #1BA457 #23D873

Accessibility & contrast

On white

6.25
#126F3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126F3B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F3B#FFFFFF#000000##FFFFFF
##126F3B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6537
Deuteranopia (green-blind)
#655D3F
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f3b;
/* rgb */ color: rgb(18, 111, 59);
/* oklch */ color: oklch(47.8% 0.117 152.6);
Tailwind
colors: {
  custom: {
    50: '#629971',
    500: '#126f3b',
    950: '#000000',
  },
}
SCSS
$custom: #126f3b;
$custom-light: #629971;
$custom-dark: #000000;
JSON
{
  "hex": "#126f3b",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 59
  },
  "hsl": {
    "h": 146.452,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.11662,
    "h": 152.6
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#126F3B
secondary
#A63775
accent
#399FEF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #126F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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