#126F39#126F39

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

Color values

HEX#126F39
RGBrgb(18, 111, 57)
HSLhsl(145, 72%, 25%)
HSVhsv(145, 84%, 44%)
CMYKcmyk(83.8%, 0%, 48.6%, 56.5%)
CIE-LABlab(40.88, -38.93, 22.85)
CIE-LCHlch(40.88, 45.14, 149.60°)
OKLaboklab(47.73% -0.1046 0.056)
OKLCHoklch(47.73% 0.119 151.8)
XYZxyz(6.6718, 11.7921, 5.7946)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F39 #6F1248
analogous
#1A6F12 #126F39 #126F67
triadic
#126F39 #39126F #6F3912
tetradic
#126F39 #121A6F #6F1248 #6F6712
square
#126F39 #121A6F #6F1248 #6F6712
split-complementary
#126F39 #67126F #6F121A
monochromatic
#041A0E #093A1E #126F39 #1BA454 #23D86F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126F39#FFFFFF#000000##FFFFFF
##126F391.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)
#6F6535
Deuteranopia (green-blind)
#655D3D
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f39;
/* rgb */ color: rgb(18, 111, 57);
/* oklch */ color: oklch(47.7% 0.119 151.8);
Tailwind
colors: {
  custom: {
    50: '#629970',
    500: '#126f39',
    950: '#000000',
  },
}
SCSS
$custom: #126f39;
$custom-light: #629970;
$custom-dark: #000000;
JSON
{
  "hex": "#126f39",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 57
  },
  "hsl": {
    "h": 145.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.11862,
    "h": 151.8
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#126F39
secondary
#A63777
accent
#39A3EF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #126F39

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

Preview Lab → · Contrast checker → · Palette generator →

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