#126021#126021

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

Color values

HEX#126021
RGBrgb(18, 96, 33)
HSLhsl(132, 68%, 22%)
HSVhsv(132, 81%, 38%)
CMYKcmyk(81.3%, 0%, 65.6%, 62.4%)
CIE-LABlab(35.21, -37.12, 28.90)
CIE-LCHlch(35.21, 47.05, 142.10°)
OKLaboklab(42.92% -0.1 0.0678)
OKLCHoklch(42.92% 0.121 145.9)
XYZxyz(4.7065, 8.6036, 2.8512)
Luminance0.0860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126021 #601251
analogous
#2A6012 #126021 #126048
triadic
#126021 #211260 #602112
tetradic
#126021 #122A60 #601251 #604812
square
#126021 #122A60 #601251 #604812
split-complementary
#126021 #481260 #60122A
monochromatic
#051A09 #082C0F #126021 #1C9433 #25C744

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126021#FFFFFF#000000##FFFFFF
##1260211.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)
#62561A
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126021;
/* rgb */ color: rgb(18, 96, 33);
/* oklch */ color: oklch(42.9% 0.121 145.9);
Tailwind
colors: {
  custom: {
    50: '#5f8e5f',
    500: '#126021',
    950: '#000000',
  },
}
SCSS
$custom: #126021;
$custom-light: #5f8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#126021",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 33
  },
  "hsl": {
    "h": 131.538,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.12087,
    "h": 145.9
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#126021
secondary
#983685
accent
#3DCAEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #126021

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

Preview Lab → · Contrast checker → · Palette generator →

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