#126535#126535

#126535 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.7% C 0.109 H 152.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#126535
RGBrgb(18, 101, 53)
HSLhsl(145, 70%, 23%)
HSVhsv(145, 82%, 40%)
CMYKcmyk(82.2%, 0%, 47.5%, 60.4%)
CIE-LABlab(37.28, -35.75, 20.51)
CIE-LCHlch(37.28, 41.22, 150.16°)
OKLaboklab(44.73% -0.0961 0.0505)
OKLCHoklch(44.73% 0.109 152.3)
XYZxyz(5.5452, 9.6923, 4.9460)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126535 #651242
analogous
#186512 #126535 #12655E
triadic
#126535 #351265 #653512
tetradic
#126535 #121865 #651242 #655E12
square
#126535 #121865 #651242 #655E12
split-complementary
#126535 #5E1265 #651218
monochromatic
#051A0E #09311A #126535 #1B9950 #25CD6C

Accessibility & contrast

On white

7.15
#126535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#126535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126535
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126535#FFFFFF#000000##FFFFFF
##1265351.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C31
Deuteranopia (green-blind)
#5C5538
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126535;
/* rgb */ color: rgb(18, 101, 53);
/* oklch */ color: oklch(44.7% 0.109 152.3);
Tailwind
colors: {
  custom: {
    50: '#5f926d',
    500: '#126535',
    950: '#000000',
  },
}
SCSS
$custom: #126535;
$custom-light: #5f926d;
$custom-dark: #000000;
JSON
{
  "hex": "#126535",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 53
  },
  "hsl": {
    "h": 145.301,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.10856,
    "h": 152.3
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#126535
secondary
#9D3671
accent
#3BA2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126535

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

Preview Lab → · Contrast checker → · Palette generator →

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