#126327#126327

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

Color values

HEX#126327
RGBrgb(18, 99, 39)
HSLhsl(136, 69%, 23%)
HSVhsv(136, 82%, 39%)
CMYKcmyk(81.8%, 0%, 60.6%, 61.2%)
CIE-LABlab(36.36, -37.40, 27.14)
CIE-LCHlch(36.36, 46.21, 144.04°)
OKLaboklab(43.9% -0.1006 0.0646)
OKLCHoklch(43.9% 0.12 147.3)
XYZxyz(5.0771, 9.1982, 3.4269)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126327 #63124E
analogous
#256312 #126327 #126350
triadic
#126327 #271263 #632712
tetradic
#126327 #122563 #63124E #635012
square
#126327 #122563 #63124E #635012
split-complementary
#126327 #501263 #631225
monochromatic
#051A0A #092F13 #126327 #1B973B #25CB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126327#FFFFFF#000000##FFFFFF
##1263271.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)
#645921
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126327;
/* rgb */ color: rgb(18, 99, 39);
/* oklch */ color: oklch(43.9% 0.120 147.3);
Tailwind
colors: {
  custom: {
    50: '#5f9063',
    500: '#126327',
    950: '#000000',
  },
}
SCSS
$custom: #126327;
$custom-light: #5f9063;
$custom-dark: #000000;
JSON
{
  "hex": "#126327",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 39
  },
  "hsl": {
    "h": 135.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.11952,
    "h": 147.3
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#126327
secondary
#9B3681
accent
#3CBEEC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050D05
muted
#7A7D79

Preview Lab

Preview with #126327

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

Preview Lab → · Contrast checker → · Palette generator →

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