#126122#126122

#126122 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.2% C 0.121 H 146.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#126122
RGBrgb(18, 97, 34)
HSLhsl(132, 69%, 23%)
HSVhsv(132, 81%, 38%)
CMYKcmyk(81.4%, 0%, 64.9%, 62%)
CIE-LABlab(35.58, -37.36, 28.82)
CIE-LCHlch(35.58, 47.19, 142.35°)
OKLaboklab(43.23% -0.1007 0.0678)
OKLCHoklch(43.23% 0.121 146.1)
XYZxyz(4.8125, 8.7929, 2.9566)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126122 #611251
analogous
#296112 #126122 #12614A
triadic
#126122 #221261 #612212
tetradic
#126122 #122961 #611251 #614A12
square
#126122 #122961 #611251 #614A12
split-complementary
#126122 #4A1261 #611229
monochromatic
#051A09 #082D10 #126122 #1C9534 #25C846

Accessibility & contrast

On white

7.61
#126122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#126122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126122
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126122#FFFFFF#000000##FFFFFF
##1261221.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63571B
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126122;
/* rgb */ color: rgb(18, 97, 34);
/* oklch */ color: oklch(43.2% 0.121 146.1);
Tailwind
colors: {
  custom: {
    50: '#5f8f5f',
    500: '#126122',
    950: '#000000',
  },
}
SCSS
$custom: #126122;
$custom-light: #5f8f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#126122",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 34
  },
  "hsl": {
    "h": 132.152,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.12134,
    "h": 146.1
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#126122
secondary
#993685
accent
#3CC8EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #126122

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

Preview Lab → · Contrast checker → · Palette generator →

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