#126F13#126F13

#126F13 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.149 H 142.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#126F13
RGBrgb(18, 111, 19)
HSLhsl(121, 72%, 25%)
HSVhsv(121, 84%, 44%)
CMYKcmyk(83.8%, 0%, 82.9%, 56.5%)
CIE-LABlab(40.48, -43.81, 40.35)
CIE-LCHlch(40.48, 59.56, 137.35°)
OKLaboklab(47.26% -0.1188 0.09)
OKLCHoklch(47.26% 0.149 142.9)
XYZxyz(6.0511, 11.5438, 2.5252)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F13 #6F126E
analogous
#3F6F12 #126F13 #126F41
triadic
#126F13 #13126F #6F1312
tetradic
#126F13 #123F6F #6F126E #6F4112
square
#126F13 #123F6F #6F126E #6F4112
split-complementary
#126F13 #41126F #6F123F
monochromatic
#041A05 #093A0A #126F13 #1BA41C #23D825

Accessibility & contrast

On white

6.35
#126F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #126F13
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F13#FFFFFF#000000##FFFFFF
##126F131.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #126f13;
/* rgb */ color: rgb(18, 111, 19);
/* oklch */ color: oklch(47.3% 0.149 142.9);
Tailwind
colors: {
  custom: {
    50: '#649959',
    500: '#126f13',
    950: '#000000',
  },
}
SCSS
$custom: #126f13;
$custom-light: #649959;
$custom-dark: #000000;
JSON
{
  "hex": "#126f13",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 120.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.14911,
    "h": 142.9
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#126F13
secondary
#A637A5
accent
#39EDEF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #126F13

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

Preview Lab → · Contrast checker → · Palette generator →

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