#126838#126838

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

Color values

HEX#126838
RGBrgb(18, 104, 56)
HSLhsl(147, 70%, 24%)
HSVhsv(147, 83%, 41%)
CMYKcmyk(82.7%, 0%, 46.2%, 59.2%)
CIE-LABlab(38.40, -36.36, 20.22)
CIE-LCHlch(38.40, 41.61, 150.92°)
OKLaboklab(45.67% -0.0978 0.0499)
OKLCHoklch(45.67% 0.11 153)
XYZxyz(5.9130, 10.3140, 5.4198)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126838 #681242
analogous
#176812 #126838 #126863
triadic
#126838 #381268 #683812
tetradic
#126838 #121768 #681242 #686312
square
#126838 #121768 #681242 #686312
split-complementary
#126838 #631268 #681217
monochromatic
#051A0E #09341C #126838 #1B9C54 #24D070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126838#FFFFFF#000000##FFFFFF
##1268381.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)
#685F34
Deuteranopia (green-blind)
#5E583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126838;
/* rgb */ color: rgb(18, 104, 56);
/* oklch */ color: oklch(45.7% 0.110 153.0);
Tailwind
colors: {
  custom: {
    50: '#60946f',
    500: '#126838',
    950: '#000000',
  },
}
SCSS
$custom: #126838;
$custom-light: #60946f;
$custom-dark: #000000;
JSON
{
  "hex": "#126838",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 146.512,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.10979,
    "h": 153
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#126838
secondary
#A03671
accent
#3B9EED
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126838

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

Preview Lab → · Contrast checker → · Palette generator →

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