#126328#126328

#126328 is a dark, moderate green. Relative luminance 0.092; OKLCH L 43.9% C 0.119 H 147.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#126328
RGBrgb(18, 99, 40)
HSLhsl(136, 69%, 23%)
HSVhsv(136, 82%, 39%)
CMYKcmyk(81.8%, 0%, 59.6%, 61.2%)
CIE-LABlab(36.38, -37.25, 26.62)
CIE-LCHlch(36.38, 45.78, 144.45°)
OKLaboklab(43.91% -0.1001 0.0635)
OKLCHoklch(43.91% 0.119 147.6)
XYZxyz(5.0939, 9.2049, 3.5153)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126328 #63124D
analogous
#256312 #126328 #126350
triadic
#126328 #281263 #632812
tetradic
#126328 #122563 #63124D #635012
square
#126328 #122563 #63124D #635012
split-complementary
#126328 #501263 #631225
monochromatic
#051A0A #092F13 #126328 #1B973D #25CB52

Accessibility & contrast

On white

7.39
#126328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#126328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126328
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126328#FFFFFF#000000##FFFFFF
##1263281.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645922
Deuteranopia (green-blind)
#5B532D
Tritanopia (blue-blind)
#006156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126328;
/* rgb */ color: rgb(18, 99, 40);
/* oklch */ color: oklch(43.9% 0.119 147.6);
Tailwind
colors: {
  custom: {
    50: '#5f9064',
    500: '#126328',
    950: '#000000',
  },
}
SCSS
$custom: #126328;
$custom-light: #5f9064;
$custom-dark: #000000;
JSON
{
  "hex": "#126328",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 40
  },
  "hsl": {
    "h": 136.296,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.11858,
    "h": 147.6
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#126328
secondary
#9B3680
accent
#3CBCEC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050D05
muted
#7A7D7A

Preview Lab

Preview with #126328

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

Preview Lab → · Contrast checker → · Palette generator →

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