#126D18#126D18

#126D18 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.144 H 143.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#126D18
RGBrgb(18, 109, 24)
HSLhsl(124, 72%, 25%)
HSVhsv(124, 83%, 43%)
CMYKcmyk(83.5%, 0%, 78%, 57.3%)
CIE-LABlab(39.80, -42.74, 37.87)
CIE-LCHlch(39.80, 57.10, 138.46°)
OKLaboklab(46.71% -0.1157 0.0856)
OKLCHoklch(46.71% 0.144 143.5)
XYZxyz(5.8826, 11.1311, 2.7025)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126D18 #6D1267
analogous
#3A6D12 #126D18 #126D46
triadic
#126D18 #18126D #6D1812
tetradic
#126D18 #123A6D #6D1267 #6D4612
square
#126D18 #123A6D #6D1267 #6D4612
split-complementary
#126D18 #46126D #6D123A
monochromatic
#041A06 #09380C #126D18 #1BA224 #23D62F

Accessibility & contrast

On white

6.51
#126D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#126D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126D18
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126D18#FFFFFF#000000##FFFFFF
##126D181.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #126d18;
/* rgb */ color: rgb(18, 109, 24);
/* oklch */ color: oklch(46.7% 0.144 143.5);
Tailwind
colors: {
  custom: {
    50: '#63985b',
    500: '#126d18',
    950: '#000000',
  },
}
SCSS
$custom: #126d18;
$custom-light: #63985b;
$custom-dark: #000000;
JSON
{
  "hex": "#126d18",
  "rgb": {
    "r": 18,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 123.956,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.14395,
    "h": 143.5
  },
  "luminance": 0.11132
}

Semantic roles & 50–950 ramp

primary
#126D18
secondary
#A4379D
accent
#39E2EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126D18

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

Preview Lab → · Contrast checker → · Palette generator →

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