#126918#126918

#126918 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.139 H 143.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#126918
RGBrgb(18, 105, 24)
HSLhsl(124, 71%, 24%)
HSVhsv(124, 83%, 41%)
CMYKcmyk(82.9%, 0%, 77.1%, 58.8%)
CIE-LABlab(38.37, -41.37, 36.42)
CIE-LCHlch(38.37, 55.11, 138.64°)
OKLaboklab(45.52% -0.112 0.0826)
OKLCHoklch(45.52% 0.139 143.6)
XYZxyz(5.4655, 10.2970, 2.5635)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126918 #691263
analogous
#386912 #126918 #126944
triadic
#126918 #181269 #691812
tetradic
#126918 #123869 #691263 #694412
square
#126918 #123869 #691263 #694412
split-complementary
#126918 #441269 #691238
monochromatic
#041A06 #09350C #126918 #1B9D24 #24D130

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##126918#FFFFFF#000000##FFFFFF
##1269181.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)
#6B5E09
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126918;
/* rgb */ color: rgb(18, 105, 24);
/* oklch */ color: oklch(45.5% 0.139 143.6);
Tailwind
colors: {
  custom: {
    50: '#62955b',
    500: '#126918',
    950: '#000000',
  },
}
SCSS
$custom: #126918;
$custom-light: #62955b;
$custom-dark: #000000;
JSON
{
  "hex": "#126918",
  "rgb": {
    "r": 18,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 124.138,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.13914,
    "h": 143.6
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#126918
secondary
#A13699
accent
#3AE1ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126918

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

Preview Lab → · Contrast checker → · Palette generator →

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