#126027#126027

#126027 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.115 H 147.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#126027
RGBrgb(18, 96, 39)
HSLhsl(136, 68%, 22%)
HSVhsv(136, 81%, 38%)
CMYKcmyk(81.3%, 0%, 59.4%, 62.4%)
CIE-LABlab(35.28, -36.25, 25.85)
CIE-LCHlch(35.28, 44.52, 144.51°)
OKLaboklab(43% -0.0975 0.0617)
OKLCHoklch(43% 0.115 147.7)
XYZxyz(4.7982, 8.6403, 3.3339)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126027 #60124B
analogous
#246012 #126027 #12604E
triadic
#126027 #271260 #602712
tetradic
#126027 #122460 #60124B #604E12
square
#126027 #122460 #60124B #604E12
split-complementary
#126027 #4E1260 #601224
monochromatic
#051A0A #082C12 #126027 #1C943C #25C751

Accessibility & contrast

On white

7.70
#126027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#126027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126027
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126027#FFFFFF#000000##FFFFFF
##1260271.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615722
Deuteranopia (green-blind)
#58512B
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126027;
/* rgb */ color: rgb(18, 96, 39);
/* oklch */ color: oklch(43.0% 0.115 147.7);
Tailwind
colors: {
  custom: {
    50: '#5f8e63',
    500: '#126027',
    950: '#000000',
  },
}
SCSS
$custom: #126027;
$custom-light: #5f8e63;
$custom-dark: #000000;
JSON
{
  "hex": "#126027",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 39
  },
  "hsl": {
    "h": 136.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43,
    "c": 0.1154,
    "h": 147.7
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#126027
secondary
#98367E
accent
#3DBCEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #126027

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

Preview Lab → · Contrast checker → · Palette generator →

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