#126A18#126A18

#126A18 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.140 H 143.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#126A18
RGBrgb(18, 106, 24)
HSLhsl(124, 71%, 24%)
HSVhsv(124, 83%, 42%)
CMYKcmyk(83%, 0%, 77.4%, 58.4%)
CIE-LABlab(38.73, -41.71, 36.78)
CIE-LCHlch(38.73, 55.61, 138.59°)
OKLaboklab(45.81% -0.1129 0.0833)
OKLCHoklch(45.81% 0.14 143.6)
XYZxyz(5.5680, 10.5019, 2.5976)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A18 #6A1264
analogous
#386A12 #126A18 #126A44
triadic
#126A18 #18126A #6A1812
tetradic
#126A18 #12386A #6A1264 #6A4412
square
#126A18 #12386A #6A1264 #6A4412
split-complementary
#126A18 #44126A #6A1238
monochromatic
#041A06 #09360C #126A18 #1B9E24 #24D330

Accessibility & contrast

On white

6.77
#126A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#126A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126A18#FFFFFF#000000##FFFFFF
##126A181.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)
#6C5F09
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a18;
/* rgb */ color: rgb(18, 106, 24);
/* oklch */ color: oklch(45.8% 0.140 143.6);
Tailwind
colors: {
  custom: {
    50: '#62965b',
    500: '#126a18',
    950: '#000000',
  },
}
SCSS
$custom: #126a18;
$custom-light: #62965b;
$custom-dark: #000000;
JSON
{
  "hex": "#126a18",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 124.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.14035,
    "h": 143.6
  },
  "luminance": 0.10503
}

Semantic roles & 50–950 ramp

primary
#126A18
secondary
#A2369A
accent
#3AE1EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #126A18

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

Preview Lab → · Contrast checker → · Palette generator →

#126A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva