#126034#126034

#126034 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.102 H 153.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#126034
RGBrgb(18, 96, 52)
HSLhsl(146, 68%, 22%)
HSVhsv(146, 81%, 38%)
CMYKcmyk(81.3%, 0%, 45.8%, 62.4%)
CIE-LABlab(35.48, -33.92, 18.76)
CIE-LCHlch(35.48, 38.76, 151.05°)
OKLaboklab(43.23% -0.0913 0.0464)
OKLCHoklch(43.23% 0.102 153.1)
XYZxyz(5.0517, 8.7417, 4.6692)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126034 #60123E
analogous
#176012 #126034 #12605B
triadic
#126034 #341260 #603412
tetradic
#126034 #121760 #60123E #605B12
square
#126034 #121760 #60123E #605B12
split-complementary
#126034 #5B1260 #601217
monochromatic
#051A0E #082C18 #126034 #1C9450 #25C76C

Accessibility & contrast

On white

7.64
#126034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#126034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126034
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126034#FFFFFF#000000##FFFFFF
##1260341.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605731
Deuteranopia (green-blind)
#575137
Tritanopia (blue-blind)
#005F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126034;
/* rgb */ color: rgb(18, 96, 52);
/* oklch */ color: oklch(43.2% 0.102 153.1);
Tailwind
colors: {
  custom: {
    50: '#5e8e6c',
    500: '#126034',
    950: '#000000',
  },
}
SCSS
$custom: #126034;
$custom-light: #5e8e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#126034",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 52
  },
  "hsl": {
    "h": 146.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.10237,
    "h": 153.1
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#126034
secondary
#98366D
accent
#3D9FEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #126034

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

Preview Lab → · Contrast checker → · Palette generator →

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