#126A22#126A22

#126A22 is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.133 H 145.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#126A22
RGBrgb(18, 106, 34)
HSLhsl(131, 71%, 24%)
HSVhsv(131, 83%, 42%)
CMYKcmyk(83%, 0%, 67.9%, 58.4%)
CIE-LABlab(38.81, -40.65, 32.47)
CIE-LCHlch(38.81, 52.03, 141.38°)
OKLaboklab(45.91% -0.1096 0.0755)
OKLCHoklch(45.91% 0.133 145.4)
XYZxyz(5.6918, 10.5515, 3.2497)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126A22 #6A125A
analogous
#2E6A12 #126A22 #126A4E
triadic
#126A22 #22126A #6A2212
tetradic
#126A22 #122E6A #6A125A #6A4E12
square
#126A22 #122E6A #6A125A #6A4E12
split-complementary
#126A22 #4E126A #6A122E
monochromatic
#041A08 #093611 #126A22 #1B9E33 #24D344

Accessibility & contrast

On white

6.75
#126A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#126A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126A22
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126A22#FFFFFF#000000##FFFFFF
##126A221.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F19
Deuteranopia (green-blind)
#625928
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126a22;
/* rgb */ color: rgb(18, 106, 34);
/* oklch */ color: oklch(45.9% 0.133 145.4);
Tailwind
colors: {
  custom: {
    50: '#629660',
    500: '#126a22',
    950: '#000000',
  },
}
SCSS
$custom: #126a22;
$custom-light: #629660;
$custom-dark: #000000;
JSON
{
  "hex": "#126a22",
  "rgb": {
    "r": 18,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 130.909,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.1331,
    "h": 145.4
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#126A22
secondary
#A2368E
accent
#3ACDEE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #126A22

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

Preview Lab → · Contrast checker → · Palette generator →

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