#126628#126628

#126628 is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.123 H 147.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#126628
RGBrgb(18, 102, 40)
HSLhsl(136, 70%, 24%)
HSVhsv(136, 82%, 40%)
CMYKcmyk(82.4%, 0%, 60.8%, 60%)
CIE-LABlab(37.45, -38.38, 27.90)
CIE-LCHlch(37.45, 47.45, 143.99°)
OKLaboklab(44.8% -0.1032 0.0663)
OKLCHoklch(44.8% 0.123 147.3)
XYZxyz(5.3834, 9.7839, 3.6118)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126628 #661250
analogous
#266612 #126628 #126652
triadic
#126628 #281266 #662812
tetradic
#126628 #122666 #661250 #665212
square
#126628 #122666 #661250 #665212
split-complementary
#126628 #521266 #661226
monochromatic
#051A0A #093214 #126628 #1B9A3C #24CE51

Accessibility & contrast

On white

7.10
#126628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#126628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126628
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126628#FFFFFF#000000##FFFFFF
##1266281.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C22
Deuteranopia (green-blind)
#5E562D
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #126628;
/* rgb */ color: rgb(18, 102, 40);
/* oklch */ color: oklch(44.8% 0.123 147.3);
Tailwind
colors: {
  custom: {
    50: '#609364',
    500: '#126628',
    950: '#000000',
  },
}
SCSS
$custom: #126628;
$custom-light: #609364;
$custom-dark: #000000;
JSON
{
  "hex": "#126628",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 40
  },
  "hsl": {
    "h": 135.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44803,
    "c": 0.12266,
    "h": 147.3
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#126628
secondary
#9E3683
accent
#3BBEED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D05
muted
#797E7A

Preview Lab

Preview with #126628

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

Preview Lab → · Contrast checker → · Palette generator →

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