#118126#118126

#118126 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.159 H 145.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#118126
RGBrgb(17, 129, 38)
HSLhsl(131, 77%, 29%)
HSVhsv(131, 87%, 51%)
CMYKcmyk(86.8%, 0%, 70.5%, 49.4%)
CIE-LABlab(46.92, -48.22, 39.49)
CIE-LCHlch(46.92, 62.33, 140.68°)
OKLaboklab(52.66% -0.13 0.0909)
OKLCHoklch(52.66% 0.159 145)
XYZxyz(8.4307, 15.9586, 4.4693)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118126 #81116C
analogous
#348111 #118126 #11815E
triadic
#118126 #261181 #812611
tetradic
#118126 #113481 #81116C #815E11
square
#118126 #113481 #81116C #815E11
split-complementary
#118126 #5E1181 #811134
monochromatic
#041B08 #0A4B16 #118126 #18B736 #2AE34C

Accessibility & contrast

On white

5.01
#118126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#118126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #118126
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118126#FFFFFF#000000##FFFFFF
##1181261.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #118126;
/* rgb */ color: rgb(17, 129, 38);
/* oklch */ color: oklch(52.7% 0.159 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a765',
    500: '#118126',
    950: '#000000',
  },
}
SCSS
$custom: #118126;
$custom-light: #68a765;
$custom-dark: #000000;
JSON
{
  "hex": "#118126",
  "rgb": {
    "r": 17,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 131.25,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52658,
    "c": 0.15859,
    "h": 145
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#118126
secondary
#B7379F
accent
#35D0F3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #118126

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

Preview Lab → · Contrast checker → · Palette generator →

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