#126F18#126F18

#126F18 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.146 H 143.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#126F18
RGBrgb(18, 111, 24)
HSLhsl(124, 72%, 25%)
HSVhsv(124, 84%, 44%)
CMYKcmyk(83.8%, 0%, 78.4%, 56.5%)
CIE-LABlab(40.51, -43.42, 38.58)
CIE-LCHlch(40.51, 58.09, 138.38°)
OKLaboklab(47.3% -0.1176 0.0871)
OKLCHoklch(47.3% 0.146 143.5)
XYZxyz(6.0984, 11.5627, 2.7744)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F18 #6F1269
analogous
#3A6F12 #126F18 #126F46
triadic
#126F18 #18126F #6F1812
tetradic
#126F18 #123A6F #6F1269 #6F4612
square
#126F18 #123A6F #6F1269 #6F4612
split-complementary
#126F18 #46126F #6F123A
monochromatic
#041A06 #093A0D #126F18 #1BA423 #23D82F

Accessibility & contrast

On white

6.34
#126F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#126F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F18
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F18#FFFFFF#000000##FFFFFF
##126F181.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716406
Deuteranopia (green-blind)
#675D22
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126f18;
/* rgb */ color: rgb(18, 111, 24);
/* oklch */ color: oklch(47.3% 0.146 143.5);
Tailwind
colors: {
  custom: {
    50: '#64995b',
    500: '#126f18',
    950: '#000000',
  },
}
SCSS
$custom: #126f18;
$custom-light: #64995b;
$custom-dark: #000000;
JSON
{
  "hex": "#126f18",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 123.871,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.14631,
    "h": 143.5
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #126F18

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

Preview Lab → · Contrast checker → · Palette generator →

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