#126022#126022

#126022 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.120 H 146.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#126022
RGBrgb(18, 96, 34)
HSLhsl(132, 68%, 22%)
HSVhsv(132, 81%, 38%)
CMYKcmyk(81.3%, 0%, 64.6%, 62.4%)
CIE-LABlab(35.22, -36.99, 28.41)
CIE-LCHlch(35.22, 46.64, 142.48°)
OKLaboklab(42.93% -0.0996 0.0669)
OKLCHoklch(42.93% 0.12 146.1)
XYZxyz(4.7207, 8.6093, 2.9260)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126022 #601250
analogous
#296012 #126022 #126049
triadic
#126022 #221260 #602212
tetradic
#126022 #122960 #601250 #604912
square
#126022 #122960 #601250 #604912
split-complementary
#126022 #491260 #601229
monochromatic
#051A09 #082C10 #126022 #1C9434 #25C747

Accessibility & contrast

On white

7.71
#126022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#126022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126022
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126022#FFFFFF#000000##FFFFFF
##1260221.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126022;
/* rgb */ color: rgb(18, 96, 34);
/* oklch */ color: oklch(42.9% 0.120 146.1);
Tailwind
colors: {
  custom: {
    50: '#5f8e5f',
    500: '#126022',
    950: '#000000',
  },
}
SCSS
$custom: #126022;
$custom-light: #5f8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#126022",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 132.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.11999,
    "h": 146.1
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#126022
secondary
#983684
accent
#3DC7EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #126022

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

Preview Lab → · Contrast checker → · Palette generator →

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