#126026#126026

#126026 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.116 H 147.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#126026
RGBrgb(18, 96, 38)
HSLhsl(135, 68%, 22%)
HSVhsv(135, 81%, 38%)
CMYKcmyk(81.3%, 0%, 60.4%, 62.4%)
CIE-LABlab(35.27, -36.41, 26.37)
CIE-LCHlch(35.27, 44.95, 144.08°)
OKLaboklab(42.99% -0.0979 0.0628)
OKLCHoklch(42.99% 0.116 147.3)
XYZxyz(4.7818, 8.6337, 3.2478)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126026 #60124C
analogous
#256012 #126026 #12604D
triadic
#126026 #261260 #602612
tetradic
#126026 #122560 #60124C #604D12
square
#126026 #122560 #60124C #604D12
split-complementary
#126026 #4D1260 #601225
monochromatic
#051A0A #082C12 #126026 #1C943A #25C74F

Accessibility & contrast

On white

7.70
#126026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#126026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126026
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126026#FFFFFF#000000##FFFFFF
##1260261.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615720
Deuteranopia (green-blind)
#58512B
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126026;
/* rgb */ color: rgb(18, 96, 38);
/* oklch */ color: oklch(43.0% 0.116 147.3);
Tailwind
colors: {
  custom: {
    50: '#5f8e62',
    500: '#126026',
    950: '#000000',
  },
}
SCSS
$custom: #126026;
$custom-light: #5f8e62;
$custom-dark: #000000;
JSON
{
  "hex": "#126026",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 38
  },
  "hsl": {
    "h": 135.385,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42985,
    "c": 0.11634,
    "h": 147.3
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#126026
secondary
#98367F
accent
#3DBEEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #126026

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

Preview Lab → · Contrast checker → · Palette generator →

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