#126836#126836

#126836 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.112 H 152.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#126836
RGBrgb(18, 104, 54)
HSLhsl(145, 70%, 24%)
HSVhsv(145, 83%, 41%)
CMYKcmyk(82.7%, 0%, 48.1%, 59.2%)
CIE-LABlab(38.37, -36.76, 21.33)
CIE-LCHlch(38.37, 42.49, 149.88°)
OKLaboklab(45.63% -0.0988 0.0524)
OKLCHoklch(45.63% 0.112 152.1)
XYZxyz(5.8651, 10.2949, 5.1673)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126836 #681244
analogous
#196812 #126836 #126861
triadic
#126836 #361268 #683612
tetradic
#126836 #121968 #681244 #686112
square
#126836 #121968 #681244 #686112
split-complementary
#126836 #611268 #681219
monochromatic
#051A0E #09341B #126836 #1B9C51 #24D06C

Accessibility & contrast

On white

6.86
#126836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#126836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126836
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126836#FFFFFF#000000##FFFFFF
##1268361.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F32
Deuteranopia (green-blind)
#5E583A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126836;
/* rgb */ color: rgb(18, 104, 54);
/* oklch */ color: oklch(45.6% 0.112 152.1);
Tailwind
colors: {
  custom: {
    50: '#60946e',
    500: '#126836',
    950: '#000000',
  },
}
SCSS
$custom: #126836;
$custom-light: #60946e;
$custom-dark: #000000;
JSON
{
  "hex": "#126836",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 54
  },
  "hsl": {
    "h": 145.116,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.11181,
    "h": 152.1
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#126836
secondary
#A03673
accent
#3BA2ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126836

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

Preview Lab → · Contrast checker → · Palette generator →

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