#126326#126326

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

Color values

HEX#126326
RGBrgb(18, 99, 38)
HSLhsl(135, 69%, 23%)
HSVhsv(135, 82%, 39%)
CMYKcmyk(81.8%, 0%, 61.6%, 61.2%)
CIE-LABlab(36.35, -37.55, 27.65)
CIE-LCHlch(36.35, 46.63, 143.63°)
OKLaboklab(43.88% -0.101 0.0656)
OKLCHoklch(43.88% 0.12 147)
XYZxyz(5.0608, 9.1916, 3.3408)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126326 #63124F
analogous
#266312 #126326 #12634E
triadic
#126326 #261263 #632612
tetradic
#126326 #122663 #63124F #634E12
square
#126326 #122663 #63124F #634E12
split-complementary
#126326 #4E1263 #631226
monochromatic
#051A0A #092F12 #126326 #1B973A #25CB4E

Accessibility & contrast

On white

7.40
#126326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126326
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126326#FFFFFF#000000##FFFFFF
##1263261.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645920
Deuteranopia (green-blind)
#5B532B
Tritanopia (blue-blind)
#006156
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126326;
/* rgb */ color: rgb(18, 99, 38);
/* oklch */ color: oklch(43.9% 0.120 147.0);
Tailwind
colors: {
  custom: {
    50: '#5f9062',
    500: '#126326',
    950: '#000000',
  },
}
SCSS
$custom: #126326;
$custom-light: #5f9062;
$custom-dark: #000000;
JSON
{
  "hex": "#126326",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 38
  },
  "hsl": {
    "h": 134.815,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.12044,
    "h": 147
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#126326
secondary
#9B3682
accent
#3CC1EC
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050D05
muted
#7A7D79

Preview Lab

Preview with #126326

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

Preview Lab → · Contrast checker → · Palette generator →

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