#126627#126627

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

Color values

HEX#126627
RGBrgb(18, 102, 39)
HSLhsl(135, 70%, 24%)
HSVhsv(135, 82%, 40%)
CMYKcmyk(82.4%, 0%, 61.8%, 60%)
CIE-LABlab(37.44, -38.52, 28.40)
CIE-LCHlch(37.44, 47.86, 143.60°)
OKLaboklab(44.79% -0.1036 0.0673)
OKLCHoklch(44.79% 0.124 147)
XYZxyz(5.3666, 9.7772, 3.5234)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126627 #661251
analogous
#276612 #126627 #126651
triadic
#126627 #271266 #662712
tetradic
#126627 #122766 #661251 #665112
square
#126627 #122766 #661251 #665112
split-complementary
#126627 #511266 #661227
monochromatic
#051A0A #093213 #126627 #1B9A3B #24CE4F

Accessibility & contrast

On white

7.11
#126627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126627
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126627#FFFFFF#000000##FFFFFF
##1266271.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126627;
/* rgb */ color: rgb(18, 102, 39);
/* oklch */ color: oklch(44.8% 0.124 147.0);
Tailwind
colors: {
  custom: {
    50: '#609363',
    500: '#126627',
    950: '#000000',
  },
}
SCSS
$custom: #126627;
$custom-light: #609363;
$custom-dark: #000000;
JSON
{
  "hex": "#126627",
  "rgb": {
    "r": 18,
    "g": 102,
    "b": 39
  },
  "hsl": {
    "h": 135,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44789,
    "c": 0.12357,
    "h": 147
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#126627
secondary
#9E3684
accent
#3BC0ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D05
muted
#797E7A

Preview Lab

Preview with #126627

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

Preview Lab → · Contrast checker → · Palette generator →

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