#126020#126020

#126020 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.122 H 145.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#126020
RGBrgb(18, 96, 32)
HSLhsl(131, 68%, 22%)
HSVhsv(131, 81%, 38%)
CMYKcmyk(81.3%, 0%, 66.7%, 62.4%)
CIE-LABlab(35.20, -37.26, 29.39)
CIE-LCHlch(35.20, 47.45, 141.73°)
OKLaboklab(42.9% -0.1004 0.0688)
OKLCHoklch(42.9% 0.122 145.6)
XYZxyz(4.6927, 8.5981, 2.7785)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126020 #601252
analogous
#2B6012 #126020 #126047
triadic
#126020 #201260 #602012
tetradic
#126020 #122B60 #601252 #604712
square
#126020 #122B60 #601252 #604712
split-complementary
#126020 #471260 #60122B
monochromatic
#051A09 #082C0F #126020 #1C9431 #25C742

Accessibility & contrast

On white

7.72
#126020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126020
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126020#FFFFFF#000000##FFFFFF
##1260201.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625619
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126020;
/* rgb */ color: rgb(18, 96, 32);
/* oklch */ color: oklch(42.9% 0.122 145.6);
Tailwind
colors: {
  custom: {
    50: '#5f8e5e',
    500: '#126020',
    950: '#000000',
  },
}
SCSS
$custom: #126020;
$custom-light: #5f8e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#126020",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 130.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42904,
    "c": 0.12174,
    "h": 145.6
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#126020
secondary
#983686
accent
#3DCCEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #126020

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

Preview Lab → · Contrast checker → · Palette generator →

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