#126221#126221

#126221 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.124 H 145.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#126221
RGBrgb(18, 98, 33)
HSLhsl(131, 69%, 23%)
HSVhsv(131, 82%, 38%)
CMYKcmyk(81.6%, 0%, 66.3%, 61.6%)
CIE-LABlab(35.93, -37.87, 29.72)
CIE-LCHlch(35.93, 48.14, 141.87°)
OKLaboklab(43.52% -0.1021 0.0696)
OKLCHoklch(43.52% 0.124 145.7)
XYZxyz(4.8913, 8.9732, 2.9128)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126221 #621253
analogous
#2B6212 #126221 #126249
triadic
#126221 #211262 #622112
tetradic
#126221 #122B62 #621253 #624912
square
#126221 #122B62 #621253 #624912
split-complementary
#126221 #491262 #62122B
monochromatic
#051A09 #092E10 #126221 #1B9632 #25C944

Accessibility & contrast

On white

7.51
#126221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#126221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126221
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126221#FFFFFF#000000##FFFFFF
##1262211.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126221;
/* rgb */ color: rgb(18, 98, 33);
/* oklch */ color: oklch(43.5% 0.124 145.7);
Tailwind
colors: {
  custom: {
    50: '#5f905f',
    500: '#126221',
    950: '#000000',
  },
}
SCSS
$custom: #126221;
$custom-light: #5f905f;
$custom-dark: #000000;
JSON
{
  "hex": "#126221",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 131.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.12353,
    "h": 145.7
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#126221
secondary
#9A3687
accent
#3CCBEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #126221

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

Preview Lab → · Contrast checker → · Palette generator →

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