#126E18#126E18

#126E18 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.145 H 143.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#126E18
RGBrgb(18, 110, 24)
HSLhsl(124, 72%, 25%)
HSVhsv(124, 84%, 43%)
CMYKcmyk(83.6%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.16, -43.08, 38.23)
CIE-LCHlch(40.16, 57.59, 138.42°)
OKLaboklab(47% -0.1166 0.0864)
OKLCHoklch(47% 0.145 143.5)
XYZxyz(5.9899, 11.3457, 2.7382)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126E18 #6E1268
analogous
#3A6E12 #126E18 #126E46
triadic
#126E18 #18126E #6E1812
tetradic
#126E18 #123A6E #6E1268 #6E4612
square
#126E18 #123A6E #6E1268 #6E4612
split-complementary
#126E18 #46126E #6E123A
monochromatic
#041A06 #09390D #126E18 #1BA323 #23D72F

Accessibility & contrast

On white

6.42
#126E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#126E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126E18
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126E18#FFFFFF#000000##FFFFFF
##126E181.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126e18;
/* rgb */ color: rgb(18, 110, 24);
/* oklch */ color: oklch(47.0% 0.145 143.5);
Tailwind
colors: {
  custom: {
    50: '#63995b',
    500: '#126e18',
    950: '#000000',
  },
}
SCSS
$custom: #126e18;
$custom-light: #63995b;
$custom-dark: #000000;
JSON
{
  "hex": "#126e18",
  "rgb": {
    "r": 18,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 123.913,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.14513,
    "h": 143.5
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#126E18
secondary
#A5379E
accent
#39E3EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126E18

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

Preview Lab → · Contrast checker → · Palette generator →

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