#126938#126938

#126938 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.111 H 152.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#126938
RGBrgb(18, 105, 56)
HSLhsl(146, 71%, 24%)
HSVhsv(146, 83%, 41%)
CMYKcmyk(82.9%, 0%, 46.7%, 58.8%)
CIE-LABlab(38.75, -36.76, 20.68)
CIE-LCHlch(38.75, 42.18, 150.64°)
OKLaboklab(45.96% -0.0988 0.051)
OKLCHoklch(45.96% 0.111 152.7)
XYZxyz(6.0143, 10.5165, 5.4535)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126938 #691243
analogous
#186912 #126938 #126964
triadic
#126938 #381269 #693812
tetradic
#126938 #121869 #691243 #696412
square
#126938 #121869 #691243 #696412
split-complementary
#126938 #641269 #691218
monochromatic
#041A0E #09351C #126938 #1B9D54 #24D170

Accessibility & contrast

On white

6.77
#126938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#126938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126938
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126938#FFFFFF#000000##FFFFFF
##1269381.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126938;
/* rgb */ color: rgb(18, 105, 56);
/* oklch */ color: oklch(46.0% 0.111 152.7);
Tailwind
colors: {
  custom: {
    50: '#60956f',
    500: '#126938',
    950: '#000000',
  },
}
SCSS
$custom: #126938;
$custom-light: #60956f;
$custom-dark: #000000;
JSON
{
  "hex": "#126938",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 56
  },
  "hsl": {
    "h": 146.207,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.1112,
    "h": 152.7
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#126938
secondary
#A13672
accent
#3A9FED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126938

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

Preview Lab → · Contrast checker → · Palette generator →

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