#126738#126738

#126738 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.4% C 0.108 H 153.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#126738
RGBrgb(18, 103, 56)
HSLhsl(147, 70%, 24%)
HSVhsv(147, 83%, 40%)
CMYKcmyk(82.5%, 0%, 45.6%, 59.6%)
CIE-LABlab(38.05, -35.96, 19.76)
CIE-LCHlch(38.05, 41.03, 151.21°)
OKLaboklab(45.37% -0.0967 0.0489)
OKLCHoklch(45.37% 0.108 153.2)
XYZxyz(5.8130, 10.1139, 5.3864)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126738 #671241
analogous
#166712 #126738 #126762
triadic
#126738 #381267 #673812
tetradic
#126738 #121667 #671241 #676212
square
#126738 #121667 #671241 #676212
split-complementary
#126738 #621267 #671216
monochromatic
#051A0E #09331C #126738 #1B9B54 #24CF71

Accessibility & contrast

On white

6.95
#126738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#126738 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126738
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126738#FFFFFF#000000##FFFFFF
##1267381.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E35
Deuteranopia (green-blind)
#5D573B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126738;
/* rgb */ color: rgb(18, 103, 56);
/* oklch */ color: oklch(45.4% 0.108 153.2);
Tailwind
colors: {
  custom: {
    50: '#60936f',
    500: '#126738',
    950: '#000000',
  },
}
SCSS
$custom: #126738;
$custom-light: #60936f;
$custom-dark: #000000;
JSON
{
  "hex": "#126738",
  "rgb": {
    "r": 18,
    "g": 103,
    "b": 56
  },
  "hsl": {
    "h": 146.824,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45372,
    "c": 0.10836,
    "h": 153.2
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#126738
secondary
#9F3670
accent
#3B9DED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126738

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

Preview Lab → · Contrast checker → · Palette generator →

#126738 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva