#126522#126522

#126522 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.4% C 0.127 H 145.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#126522
RGBrgb(18, 101, 34)
HSLhsl(132, 70%, 23%)
HSVhsv(132, 82%, 40%)
CMYKcmyk(82.2%, 0%, 66.3%, 60.4%)
CIE-LABlab(37.02, -38.84, 30.46)
CIE-LCHlch(37.02, 49.36, 141.89°)
OKLaboklab(44.43% -0.1047 0.0713)
OKLCHoklch(44.43% 0.127 145.7)
XYZxyz(5.1915, 9.5508, 3.0830)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126522 #651255
analogous
#2B6512 #126522 #12654B
triadic
#126522 #221265 #652212
tetradic
#126522 #122B65 #651255 #654B12
square
#126522 #122B65 #651255 #654B12
split-complementary
#126522 #4B1265 #65122B
monochromatic
#051A09 #093111 #126522 #1B9933 #25CD45

Accessibility & contrast

On white

7.22
#126522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#126522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126522
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126522#FFFFFF#000000##FFFFFF
##1265221.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B1A
Deuteranopia (green-blind)
#5D5528
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126522;
/* rgb */ color: rgb(18, 101, 34);
/* oklch */ color: oklch(44.4% 0.127 145.7);
Tailwind
colors: {
  custom: {
    50: '#609260',
    500: '#126522',
    950: '#000000',
  },
}
SCSS
$custom: #126522;
$custom-light: #609260;
$custom-dark: #000000;
JSON
{
  "hex": "#126522",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 131.566,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.12663,
    "h": 145.7
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#126522
secondary
#9D3689
accent
#3BCAED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126522

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

Preview Lab → · Contrast checker → · Palette generator →

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