#126F32#126F32

#126F32 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.125 H 149.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#126F32
RGBrgb(18, 111, 50)
HSLhsl(141, 72%, 25%)
HSVhsv(141, 84%, 44%)
CMYKcmyk(83.8%, 0%, 55%, 56.5%)
CIE-LABlab(40.78, -40.17, 26.57)
CIE-LCHlch(40.78, 48.17, 146.51°)
OKLaboklab(47.6% -0.1078 0.0641)
OKLCHoklch(47.6% 0.125 149.3)
XYZxyz(6.5091, 11.7270, 4.9375)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F32 #6F124F
analogous
#216F12 #126F32 #126F60
triadic
#126F32 #32126F #6F3212
tetradic
#126F32 #12216F #6F124F #6F6012
square
#126F32 #12216F #6F124F #6F6012
split-complementary
#126F32 #60126F #6F1221
monochromatic
#041A0C #093A1A #126F32 #1BA44A #23D861

Accessibility & contrast

On white

6.28
#126F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#126F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F32
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F32#FFFFFF#000000##FFFFFF
##126F321.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652D
Deuteranopia (green-blind)
#665D37
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f32;
/* rgb */ color: rgb(18, 111, 50);
/* oklch */ color: oklch(47.6% 0.125 149.3);
Tailwind
colors: {
  custom: {
    50: '#62996b',
    500: '#126f32',
    950: '#000000',
  },
}
SCSS
$custom: #126f32;
$custom-light: #62996b;
$custom-dark: #000000;
JSON
{
  "hex": "#126f32",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 50
  },
  "hsl": {
    "h": 140.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47604,
    "c": 0.12546,
    "h": 149.3
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#126F32
secondary
#A63780
accent
#39B0EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #126F32

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

Preview Lab → · Contrast checker → · Palette generator →

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