#126F22#126F22

#126F22 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.139 H 145.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#126F22
RGBrgb(18, 111, 34)
HSLhsl(130, 72%, 25%)
HSVhsv(130, 84%, 44%)
CMYKcmyk(83.8%, 0%, 69.4%, 56.5%)
CIE-LABlab(40.59, -42.42, 34.43)
CIE-LCHlch(40.59, 54.64, 140.94°)
OKLaboklab(47.39% -0.1144 0.0797)
OKLCHoklch(47.39% 0.139 145.1)
XYZxyz(6.2222, 11.6122, 3.4265)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126F22 #6F125F
analogous
#306F12 #126F22 #126F51
triadic
#126F22 #22126F #6F2212
tetradic
#126F22 #12306F #6F125F #6F5112
square
#126F22 #12306F #6F125F #6F5112
split-complementary
#126F22 #51126F #6F1230
monochromatic
#041A08 #093A12 #126F22 #1BA432 #23D842

Accessibility & contrast

On white

6.32
#126F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#126F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126F22
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126F22#FFFFFF#000000##FFFFFF
##126F221.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #126f22;
/* rgb */ color: rgb(18, 111, 34);
/* oklch */ color: oklch(47.4% 0.139 145.1);
Tailwind
colors: {
  custom: {
    50: '#639961',
    500: '#126f22',
    950: '#000000',
  },
}
SCSS
$custom: #126f22;
$custom-light: #639961;
$custom-dark: #000000;
JSON
{
  "hex": "#126f22",
  "rgb": {
    "r": 18,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 130.323,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.13943,
    "h": 145.1
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#126F22
secondary
#A63793
accent
#39D0EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #126F22

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

Preview Lab → · Contrast checker → · Palette generator →

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