#126620#126620

#126620 is a dark, vivid green. Relative luminance 0.097; OKLCH L 44.7% C 0.130 H 145.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#126620
RGBrgb(18, 102, 32)
HSLhsl(130, 70%, 24%)
HSVhsv(130, 82%, 40%)
CMYKcmyk(82.4%, 0%, 68.6%, 60%)
CIE-LABlab(37.36, -39.46, 31.81)
CIE-LCHlch(37.36, 50.68, 141.12°)
OKLaboklab(44.7% -0.1064 0.0739)
OKLCHoklch(44.7% 0.13 145.2)
XYZxyz(5.2612, 9.7350, 2.9680)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126620 #661258
analogous
#2E6612 #126620 #12664A
triadic
#126620 #201266 #662012
tetradic
#126620 #122E66 #661258 #664A12
square
#126620 #122E66 #661258 #664A12
split-complementary
#126620 #4A1266 #66122E
monochromatic
#051A08 #093210 #126620 #1B9A30 #24CE41

Accessibility & contrast

On white

7.13
#126620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#126620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126620
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126620#FFFFFF#000000##FFFFFF
##1266201.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C17
Deuteranopia (green-blind)
#5F5526
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126620;
/* rgb */ color: rgb(18, 102, 32);
/* oklch */ color: oklch(44.7% 0.130 145.2);
Tailwind
colors: {
  custom: {
    50: '#61935f',
    500: '#126620',
    950: '#000000',
  },
}
SCSS
$custom: #126620;
$custom-light: #61935f;
$custom-dark: #000000;
JSON
{
  "hex": "#126620",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 32
  },
  "hsl": {
    "h": 130,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.447,
    "c": 0.12958,
    "h": 145.2
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#126620
secondary
#9E368C
accent
#3BCFED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126620

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

Preview Lab → · Contrast checker → · Palette generator →

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