#126520#126520

#126520 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.128 H 145.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#126520
RGBrgb(18, 101, 32)
HSLhsl(130, 70%, 23%)
HSVhsv(130, 82%, 40%)
CMYKcmyk(82.2%, 0%, 68.3%, 60.4%)
CIE-LABlab(37.00, -39.09, 31.41)
CIE-LCHlch(37.00, 50.15, 141.22°)
OKLaboklab(44.4% -0.1054 0.0731)
OKLCHoklch(44.4% 0.128 145.3)
XYZxyz(5.1635, 9.5396, 2.9354)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126520 #651257
analogous
#2D6512 #126520 #126549
triadic
#126520 #201265 #652012
tetradic
#126520 #122D65 #651257 #654912
square
#126520 #122D65 #651257 #654912
split-complementary
#126520 #491265 #65122D
monochromatic
#051A08 #093110 #126520 #1B9930 #25CD41

Accessibility & contrast

On white

7.22
#126520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#126520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126520
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126520#FFFFFF#000000##FFFFFF
##1265201.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126520;
/* rgb */ color: rgb(18, 101, 32);
/* oklch */ color: oklch(44.4% 0.128 145.3);
Tailwind
colors: {
  custom: {
    50: '#60925f',
    500: '#126520',
    950: '#000000',
  },
}
SCSS
$custom: #126520;
$custom-light: #60925f;
$custom-dark: #000000;
JSON
{
  "hex": "#126520",
  "rgb": {
    "r": 18,
    "g": 101,
    "b": 32
  },
  "hsl": {
    "h": 130.12,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.12829,
    "h": 145.3
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #126520

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

Preview Lab → · Contrast checker → · Palette generator →

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