#126216#126216

#126216 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.4% C 0.132 H 143.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#126216
RGBrgb(18, 98, 22)
HSLhsl(123, 69%, 23%)
HSVhsv(123, 82%, 38%)
CMYKcmyk(81.6%, 0%, 77.6%, 61.6%)
CIE-LABlab(35.83, -39.09, 34.65)
CIE-LCHlch(35.83, 52.24, 138.45°)
OKLaboklab(43.4% -0.1059 0.0786)
OKLCHoklch(43.4% 0.132 143.4)
XYZxyz(4.7616, 8.9213, 2.2299)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126216 #62125E
analogous
#366212 #126216 #12623E
triadic
#126216 #161262 #621612
tetradic
#126216 #123662 #62125E #623E12
square
#126216 #123662 #62125E #623E12
split-complementary
#126216 #3E1262 #621236
monochromatic
#051A06 #092E0A #126216 #1B9622 #25C92D

Accessibility & contrast

On white

7.54
#126216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#126216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126216
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126216#FFFFFF#000000##FFFFFF
##1262161.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645808
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#005F53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126216;
/* rgb */ color: rgb(18, 98, 22);
/* oklch */ color: oklch(43.4% 0.132 143.4);
Tailwind
colors: {
  custom: {
    50: '#609059',
    500: '#126216',
    950: '#000000',
  },
}
SCSS
$custom: #126216;
$custom-light: #609059;
$custom-dark: #000000;
JSON
{
  "hex": "#126216",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 123,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43401,
    "c": 0.13189,
    "h": 143.4
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#126216
secondary
#9A3695
accent
#3CE3EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #126216

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

Preview Lab → · Contrast checker → · Palette generator →

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